PIbd-22_Katysheva_N.E._Pizz.../Pizzeria/PizzeriaContracts/BusinessLogicsContracts/IProductLogic.cs
revengel66 bef04e5d07 com1
2024-02-28 01:32:56 +04:00

16 lines
498 B
C#

using PizzeriaContracts.BindingModels;
using PizzeriaContracts.SearchModels;
using PizzeriaContracts.ViewModels;
namespace PizzeriaContracts.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);
}
}