PIbd-23_Elatomtsev_L.K._Con.../Confectionery/ConfectioneryContracts/BusinessLogicsContracts/IPastryLogic.cs

15 lines
509 B
C#
Raw Normal View History

2024-03-13 14:54:56 +04:00
using ConfectioneryContracts.BindingModels;
using ConfectioneryContracts.SearchModels;
using ConfectioneryContracts.ViewModels;
namespace ConfectioneryContracts.BusinessLogicsContracts
{
public interface IPastryLogic
{
List<PastryViewModel>? ReadList(PastrySearchModel? model);
PastryViewModel? ReadElement(PastrySearchModel model);
bool Create(PastryBindingModel model);
bool Update(PastryBindingModel model);
bool Delete(PastryBindingModel model);
}
}