PIbd-21_Barsukov_P.O._Compu.../ComputersShop/ComputersShopContracts/BusinessLogicsContracts/IComputerLogic.cs

21 lines
642 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.BuisnessLogicsContracts
{
public interface IComputerLogic
{
List<ComputerViewModel>? ReadList(ComputerSearchModel? model);
ComputerViewModel? ReadElement(ComputerSearchModel model);
bool Create(ComputerBindingModel model);
bool Update(ComputerBindingModel model);
bool Delete(ComputerBindingModel model);
}
}