Införande av repository method
This commit is contained in:
16
Accounting.BLI/IAccountRecords.cs
Normal file
16
Accounting.BLI/IAccountRecords.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using Accounting.Models;
|
||||
|
||||
namespace Accounting.BLI
|
||||
{
|
||||
public interface IAccountRecords
|
||||
{
|
||||
bool AddAccountRecord(AccountRecord record);
|
||||
AccountRecord SaveAcountRecord(AccountRecord record);
|
||||
bool DeleteAccountRecord(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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user