New source control repo for Biskilog POS - secure hub to store & manage source code. Streamlines dev process, tracks changes, & improves collaboration. Ensures reliable software.
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.

29 lines
1.1 KiB

using Biskilog_Accounting.Shared.POSModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Biskilog_Accounting.Shared.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);
}
}