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