using BankContracts.BindingModels.Cashier; using BankContracts.SearchModels.Cashier; using BankContracts.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BankContracts.BusinessLogicsContracts.Cashier { // Интерфейс бизнес-логики для счёта public interface IAccountLogic { List? 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); } }