2023-04-01 09:37:08 +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
|
|
|
|
|
{
|
2023-05-14 21:23:18 +04:00
|
|
|
|
public interface IClientLogic
|
2023-04-01 09:37:08 +04:00
|
|
|
|
{
|
2023-05-14 21:23:18 +04:00
|
|
|
|
List<ClientViewModel>? ReadList(ClientSearchModel? model);
|
2023-04-01 09:37:08 +04:00
|
|
|
|
|
2023-05-14 21:23:18 +04:00
|
|
|
|
ClientViewModel? ReadElement(ClientSearchModel model);
|
2023-04-01 09:37:08 +04:00
|
|
|
|
|
2023-05-14 21:23:18 +04:00
|
|
|
|
bool Create(ClientBindingModel model);
|
2023-04-01 09:37:08 +04:00
|
|
|
|
|
2023-05-14 21:23:18 +04:00
|
|
|
|
bool Update(ClientBindingModel model);
|
2023-04-01 09:37:08 +04:00
|
|
|
|
|
2023-05-14 21:23:18 +04:00
|
|
|
|
bool Delete(ClientBindingModel model);
|
2023-04-01 09:37:08 +04:00
|
|
|
|
}
|
|
|
|
|
}
|