2023-04-06 23:05:05 +04:00
|
|
|
|
using BankContracts.BindingModels;
|
|
|
|
|
using BankContracts.SearchModels;
|
|
|
|
|
using BankContracts.ViewModels;
|
|
|
|
|
|
2023-04-06 23:35:59 +04:00
|
|
|
|
namespace BankContracts.BusinessLogicsContracts
|
2023-04-06 23:05:05 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IClientLogic
|
|
|
|
|
{
|
|
|
|
|
List<ClientViewModel>? ReadList(ClientSearchModel? model);
|
|
|
|
|
ClientViewModel? ReadElement(ClientSearchModel model);
|
|
|
|
|
bool Create(ClientBindingModel model);
|
|
|
|
|
bool Update(ClientBindingModel model);
|
|
|
|
|
bool Delete(ClientBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|