PIbd-23-Volkov-N.A.-Compute.../ComputersShop/ComputersShopContracts/BusinessLogicContracts/IComputerLogic.cs

21 lines
641 B
C#
Raw Normal View History

2024-02-05 20:36:39 +04:00
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 IComputerLogic
{
List<ComputerViewModel>? ReadList(ComputerSearchModel? model);
ComputerViewModel? ReadElement(ComputerSearchModel model);
bool Create(ComputerBindingModel model);
bool Update(ComputerBindingModel model);
bool Delete(ComputerBindingModel model);
}
}