Adapted the repositories to the controllers
This commit is contained in:
@ -4,13 +4,14 @@ namespace Accounting.BLI
|
||||
{
|
||||
public interface IAccountRecords
|
||||
{
|
||||
bool AddAccountRecord(AccountRecord record);
|
||||
AccountRecord SaveAcountRecord(AccountRecord record);
|
||||
bool DeleteAccountRecord(AccountRecord record);
|
||||
Task<bool> AddAccountRecordAsync(AccountRecord record);
|
||||
Task<AccountRecord> SaveAcountRecordAsync(AccountRecord record);
|
||||
Task<bool> DeleteAccountRecordAsync(AccountRecord record);
|
||||
bool DeleteAllAccountRecords();
|
||||
IEnumerable<AccountRecord> GetAllAccBetweenDates(DateTime dateFrom, DateTime dateTo);
|
||||
IEnumerable<AccountRecord> GetAllAccounts();
|
||||
AccountRecord GetAccount(int id);
|
||||
AccountRecord GetAccountByDateBelKonto(DateTime _date, double _belopp, string _konto);
|
||||
Task<IEnumerable<AccountRecord>> GetAllAccountsAsync();
|
||||
Task<AccountRecord> GetAccountAsync(int id);
|
||||
Task<AccountRecord> GetAccountByDateBelKontoAsync(DateTime _date, double _belopp, string _konto);
|
||||
Task<List<AccountRecord>> AddAccRecordsFromJsonAsync(string jsonFile);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user