CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptContracts/BusinessLogicsContracts/IAccountLogic.cs

29 lines
746 B
C#
Raw Normal View History

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);
bool ChangeBalance(AccountSearchModel? model, int sum);
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);
}
}