The cloud manager acts as an intermediary for syncing between the local biskilog server manager and the biskilog accounting web application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.1 KiB

using Cloud_Manager.Models.POSModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cloud_Manager.Models.Interfaces
{
public interface ICompanyInfo
{
IEnumerable<Tblbranch> FetchBranches();
Task<Tblcompanydetail> GetCompanyInfoAsync();
Task<IEnumerable<Tblbranch>> GetBranches();
string GetCompanyName();
string GetBranchName(string a_branchId);
Task SyncBranches(List<Tblbranch> a_branches);
Task SyncCompanyDetails(List<Tblcompanydetail> a_details);
Task SyncDriverDetails(List<Tbldriver> a_details);
Task SyncSystemRoles(List<Systemuserrole> a_roles);
Task SyncTrucks(List<Tbltruck> a_trucks);
Task SyncTruckAssignments(List<Tbltruckassignment> a_assignments);
Task SyncTruckMappings(List<TbltruckDrivermapping> a_mapping);
Task SyncTruckInventory(List<Tbltruckinventory> a_inventories);
DateTime GetLastSyncDate(string a_tablename);
void SetLastSyncDate(string a_tableName, DateTime a_timestamp);
}
}