2023-04-01 13:45:09 +04:00
|
|
|
|
using BankYouBankruptContracts.BindingModels;
|
|
|
|
|
using BankYouBankruptContracts.SearchModels;
|
|
|
|
|
using BankYouBankruptContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace BankYouBankruptContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IAccountLogic
|
|
|
|
|
{
|
|
|
|
|
List<AccountViewModel>? ReadList(AccountSearchModel? model);
|
|
|
|
|
|
|
|
|
|
AccountViewModel? ReadElement(AccountSearchModel model);
|
|
|
|
|
|
2023-05-14 21:23:18 +04:00
|
|
|
|
bool ChangeBalance(AccountSearchModel? model, int sum);
|
|
|
|
|
|
2023-04-01 13:45:09 +04:00
|
|
|
|
bool Create(AccountBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool Update(AccountBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool Delete(AccountBindingModel model);
|
2023-05-18 21:00:46 +04:00
|
|
|
|
public List<CashierDiagramElementsViewModel> GetMonthInfo(int AccountId);
|
|
|
|
|
|
|
|
|
|
}
|
2023-04-01 13:45:09 +04:00
|
|
|
|
}
|