PIbd-22_Bondarenko_M.S._Com.../ComputersShop/ComputersShopContracts/BusinessLogicContracts/IComponentLogic.cs
Макс Бондаренко c5c9005cc5 начало 1 лабы
2023-01-31 18:20:23 +04:00

21 lines
610 B
C#

using ComputersShopContracts.BindingModels;
using ComputersShopContracts.SearchModels;
using ComputersShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputersShopContracts.BusinessLogicContracts
{
public interface IComponentLogic
{
List<ComponentViewModel>? ReadList(ComponentSearchModel? model);
ComponentViewModel? ReadElement(ComponentSearchModel model);
bool Create(ComponentBindingModel model);
bool Update(ComponentBindingModel model);
bool Delete(ComponentBindingModel model);
}
}