25 lines
680 B
C#
25 lines
680 B
C#
using BankContracts.BindingModels.Cashier;
|
|
using BankContracts.SearchModels.Cashier;
|
|
using BankContracts.ViewModels.Cashier.Diagram;
|
|
using BankContracts.ViewModels.Cashier.ViewModels;
|
|
|
|
namespace BankContracts.BusinessLogicsContracts.Cashier
|
|
{
|
|
public interface IAccountLogic
|
|
{
|
|
List<AccountViewModel>? ReadList(AccountSearchModel? model);
|
|
|
|
AccountViewModel? ReadElement(AccountSearchModel model);
|
|
|
|
bool ChangeBalance(AccountSearchModel? model, int sum);
|
|
|
|
bool Create(AccountBindingModel model);
|
|
|
|
bool Update(AccountBindingModel model);
|
|
|
|
bool Delete(AccountBindingModel model);
|
|
public List<CashierDiagramElementsViewModel> GetMonthInfo(int AccountId);
|
|
|
|
}
|
|
}
|