18 lines
747 B
C#
18 lines
747 B
C#
using Accounting.Models;
|
|
|
|
namespace Accounting.BLI
|
|
{
|
|
public interface IAccountRecords
|
|
{
|
|
Task<bool> AddAccountRecordAsync(AccountRecord record);
|
|
Task<AccountRecord> SaveAcountRecordAsync(AccountRecord record);
|
|
Task<bool> DeleteAccountRecordAsync(AccountRecord record);
|
|
bool DeleteAllAccountRecords();
|
|
IEnumerable<AccountRecord> GetAllAccBetweenDates(DateTime dateFrom, DateTime dateTo);
|
|
Task<IEnumerable<AccountRecord>> GetAllAccountsAsync();
|
|
Task<AccountRecord> GetAccountAsync(int id);
|
|
Task<AccountRecord> GetAccountByDateBelKontoAsync(DateTime _date, double _belopp, string _konto);
|
|
Task<List<AccountRecord>> AddAccRecordsFromJsonAsync(string jsonFile);
|
|
}
|
|
}
|