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 FetchBranches(); Task GetCompanyInfoAsync(); Task> GetBranches(); string GetCompanyName(); string GetBranchName(string a_branchId); Task SyncBranches(List a_branches); Task SyncCompanyDetails(List a_details); Task SyncDriverDetails(List a_details); Task SyncSystemRoles(List a_roles); Task SyncTrucks(List a_trucks); Task SyncTruckAssignments(List a_assignments); Task SyncTruckMappings(List a_mapping); Task SyncTruckInventory(List a_inventories); DateTime GetLastSyncDate(string a_tablename); void SetLastSyncDate(string a_tableName, DateTime a_timestamp); } }