PIbd-22_Katysheva_N.E._Pizz.../Pizzeria/PizzeriaContracts/BusinessLogicsContracts/IClientLogic.cs

15 lines
489 B
C#

using PizzeriaContracts.BindingModels;
using PizzeriaContracts.ViewModels;
using PizzeriaContracts.SearchModels;
namespace PizzeriaContracts.BusinessLogicsContracts
{
public interface IClientLogic
{
List<ClientViewModel>? ReadList(ClientSearchModel? model);
ClientViewModel? ReadElement(ClientSearchModel model);
bool Create(ClientBindingModel model);
bool Update(ClientBindingModel model);
bool Delete(ClientBindingModel model);
}
}