16 lines
498 B
C#
16 lines
498 B
C#
using SushiBarContracts.BindingModels;
|
|
using SushiBarContracts.SearchModels;
|
|
using SushiBarContracts.ViewModels;
|
|
|
|
namespace SushiBarContracts.BusinessLogicsContracts
|
|
{
|
|
public interface IProductLogic
|
|
{
|
|
List<ProductViewModel>? ReadList(ProductSearchModel? model);
|
|
ProductViewModel? ReadElement(ProductSearchModel model);
|
|
bool Create(ProductBindingModel model);
|
|
bool Update(ProductBindingModel model);
|
|
bool Delete(ProductBindingModel model);
|
|
}
|
|
}
|