ISEbd-21_Vasina_E.S._Comput.../ComputersShop/ComputersShopContracts/BusinessLogicsContracts/IComponentLogic.cs
2023-03-01 10:48:56 +04:00

16 lines
534 B
C#

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