2023-03-29 23:22:17 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using TransportCompanyContracts.BindingModels;
|
|
|
|
|
using TransportCompanyContracts.SearchModels;
|
|
|
|
|
using TransportCompanyContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace TransportCompanyContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IClientLogic
|
|
|
|
|
{
|
|
|
|
|
List<ClientViewModel>? ReadList(ClientSearchModel? model);
|
|
|
|
|
|
|
|
|
|
ClientViewModel? ReadElement(ClientSearchModel model);
|
|
|
|
|
|
|
|
|
|
bool Create(ClientBindingModel model);
|
|
|
|
|
|
2023-04-26 11:31:32 +04:00
|
|
|
|
string TestRandomCreate(int count, string[] _name, string[] _surname, string[] _patronymic, string[] _telephone, string[] _email);
|
|
|
|
|
|
2023-04-26 23:44:39 +04:00
|
|
|
|
string TestSecondJoin();
|
|
|
|
|
|
2023-04-26 11:31:32 +04:00
|
|
|
|
bool Update(ClientBindingModel model);
|
2023-03-29 23:22:17 +04:00
|
|
|
|
|
|
|
|
|
bool Delete(ClientBindingModel model);
|
2023-05-10 14:18:50 +04:00
|
|
|
|
|
|
|
|
|
bool TransferData(List<ClientViewModel> model);
|
2023-03-29 23:22:17 +04:00
|
|
|
|
}
|
|
|
|
|
}
|