Eliseev_E.E._PIbd-21_DBMS/TransportCompany/TransportCompanyContracts/BusinessLogicsContracts/IClientLogic.cs

31 lines
828 B
C#
Raw Normal View History

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);
string TestSecondJoin();
2023-04-26 11:31:32 +04:00
bool Update(ClientBindingModel model);
bool Delete(ClientBindingModel model);
bool TransferData(List<ClientViewModel> model);
}
}