2024-05-03 20:17:56 +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;
|
|
|
|
|
|
2024-05-04 17:50:22 +04:00
|
|
|
|
namespace ComputersShopContracts.BusinessLogicsContracts
|
2024-05-03 20:17:56 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IComputerLogic
|
|
|
|
|
{
|
|
|
|
|
List<ComputerViewModel>? ReadList(ComputerSearchModel? model);
|
|
|
|
|
ComputerViewModel? ReadElement(ComputerSearchModel model);
|
|
|
|
|
bool Create(ComputerBindingModel model);
|
|
|
|
|
bool Update(ComputerBindingModel model);
|
|
|
|
|
bool Delete(ComputerBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|