2024-02-05 16:40:47 +04:00
|
|
|
|
using SushiBarContracts.BindingModels;
|
|
|
|
|
using SushiBarContracts.SearchModels;
|
|
|
|
|
using SushiBarContracts.ViewModels;
|
2024-02-05 16:26:35 +04:00
|
|
|
|
|
2024-02-05 16:40:47 +04:00
|
|
|
|
namespace SushiBarContracts.BusinessLogicsContracts
|
2024-02-05 16:26:35 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IProductLogic
|
|
|
|
|
{
|
|
|
|
|
List<ProductViewModel>? ReadList(ProductSearchModel? model);
|
|
|
|
|
ProductViewModel? ReadElement(ProductSearchModel model);
|
|
|
|
|
bool Create(ProductBindingModel model);
|
|
|
|
|
bool Update(ProductBindingModel model);
|
|
|
|
|
bool Delete(ProductBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|