15 lines
509 B
C#
15 lines
509 B
C#
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);
|
|
}
|
|
}
|