PIbd-21_Medvedkov_Coursach/ComputerShopContracts/BusinessLogicContracts/IRequestLogic.cs
2024-05-01 04:42:57 +04:00

22 lines
652 B
C#

using ComputerShopContracts.BindingModels;
using ComputerShopContracts.SearchModels;
using ComputerShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerShopContracts.BusinessLogicContracts
{
public interface IRequestLogic
{
List<RequestViewModel>? ReadList(RequestSearchModel? model);
RequestViewModel? ReadElement(RequestSearchModel model);
bool Create(RequestBindingModel model);
bool Update(RequestBindingModel model);
bool Delete(RequestBindingModel model);
bool ConnectRequestAssembly(int requestId, int assemblyId);
}
}