PIbd-21_Zaharchenko_M.I._Pi.../Pizzeria/PizzeriaContracts/BusinessLogicsContracts/IComponentLogic.cs
2023-02-16 07:52:03 +03:00

16 lines
514 B
C#

using PizzeriaContracts.BindingModels;
using PizzeriaContracts.SearchModels;
using PizzeriaContracts.ViewModels;
namespace PizzeriaContracts.BusinessLogicsContracts
{
public interface IComponentLogic
{
List<ComponentViewModel>? ReadList(ComponentSearchModel? model);
ComponentViewModel? ReadElement(ComponentSearchModel model);
bool Create(ComponentBindingModel model);
bool Update(ComponentBindingModel model);
bool Delete(ComponentBindingModel model);
}
}