PIbd-32_Chubykina_P.P._COP_11/COP/ClientsContracts/BusinessLogicContracts/IClientLogic.cs

21 lines
601 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClientsContracts.ViewModels;
using ClientsContracts.BindingModels;
using ClientsContracts.SearchModels;
namespace ClientsContracts.BusinessLogicContracts
{
public interface IClientLogic
{
List<ClientViewModel>? ReadList(ClientSearchModel? model);
ClientViewModel? ReadElement(ClientSearchModel model);
bool Create(ClientBindingModel model);
bool Update(ClientBindingModel model);
bool Delete(ClientBindingModel model);
}
}