2023-04-05 18:31:49 +04:00
|
|
|
|
using ComputerShopContracts.BindingModels;
|
|
|
|
|
using ComputerShopContracts.SearchModels;
|
|
|
|
|
using ComputerShopContracts.ViewModels;
|
2023-05-17 13:52:06 +04:00
|
|
|
|
using ComputerShopDataModels.Models;
|
2023-04-05 18:31:49 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ComputerShopContracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IAssemblyLogic
|
|
|
|
|
{
|
|
|
|
|
List<AssemblyViewModel>? ReadList(AssemblySearchModel? model);
|
|
|
|
|
AssemblyViewModel? ReadElement(AssemblySearchModel model);
|
|
|
|
|
bool Create(AssemblyBindingModel model);
|
|
|
|
|
bool Update(AssemblyBindingModel model);
|
|
|
|
|
bool Delete(AssemblyBindingModel model);
|
2023-05-17 13:52:06 +04:00
|
|
|
|
bool AddComponentToAssembly(AssemblySearchModel model, ComponentSearchModel componentmodel, int amount);
|
2023-04-05 18:31:49 +04:00
|
|
|
|
}
|
|
|
|
|
}
|