2024-04-28 21:34:43 +04:00
|
|
|
|
using BankContracts.BindingModels;
|
|
|
|
|
using BankContracts.SearchModels;
|
|
|
|
|
using BankContracts.ViewModels;
|
2024-04-28 20:20:37 +04:00
|
|
|
|
|
|
|
|
|
namespace BankContracts.BusinessLogicContracts
|
|
|
|
|
{
|
2024-04-28 21:34:43 +04:00
|
|
|
|
public interface IOperationLogic
|
2024-04-28 20:20:37 +04:00
|
|
|
|
{
|
2024-04-28 21:34:43 +04:00
|
|
|
|
List<OperationViewModel> ReadList(OperationSearchModel? model = null);
|
|
|
|
|
OperationViewModel ReadElement(OperationSearchModel model);
|
|
|
|
|
bool Create(OperationBindingModel model);
|
|
|
|
|
bool Update(OperationBindingModel model);
|
|
|
|
|
bool Delete(OperationBindingModel model);
|
2024-04-28 20:20:37 +04:00
|
|
|
|
}
|
2024-04-28 21:34:43 +04:00
|
|
|
|
}
|