22 lines
652 B
C#
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);
|
|
}
|
|
}
|