Upload files to 'STOContracts/BusinessLogicContracts'

This commit is contained in:
Ivan_Starostin 2024-05-01 14:27:36 +04:00
parent 0d33d74751
commit baef76384e
5 changed files with 85 additions and 0 deletions

View File

@ -0,0 +1,15 @@
using STOContracts.BindingModels;
using STOContracts.SearchModels;
using STOContracts.ViewModels;
namespace STOContracts.BusinessLogicsContracts
{
public interface ICarLogic
{
List<CarViewModel>? ReadList(CarSearchModel? model);
CarViewModel? ReadElement(CarSearchModel model);
bool Create(CarBindingModel model);
bool Update(CarBindingModel model);
bool Delete(CarBindingModel model);
}
}

View File

@ -0,0 +1,20 @@
using STOContracts.BindingModels;
using STOContracts.SearchModels;
using STOContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace STOContracts.BusinessLogicContracts
{
public interface ICarPartLogic
{
List<CarPartViewModel>? ReadList(CarPartSearchModel? model);
CarPartViewModel? ReadElement(CarPartSearchModel model);
bool Create(CarPartBindingModel model);
bool Update(CarPartBindingModel model);
bool Delete(CarPartBindingModel model);
}
}

View File

@ -0,0 +1,20 @@
using STOContracts.BindingModels;
using STOContracts.SearchModels;
using STOContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace STOContracts.BusinessLogicContracts
{
public interface IClientLogic
{
List<ClientViewModel>? ReadList(ClientSearchModel? model);
ClientViewModel? ReadElement(ClientSearchModel model);
bool Create(ClientBindingModel model);
bool Update(ClientBindingModel model);
bool Delete(ClientBindingModel model);
}
}

View File

@ -0,0 +1,15 @@
using STOContracts.BindingModels;
using STOContracts.SearchModels;
using STOContracts.ViewModels;
namespace STOContracts.BusinessLogicsContracts
{
public interface IServiceLogic
{
List<ServiceViewModel>? ReadList(ServiceSearchModel? model);
ServiceViewModel? ReadElement(ServiceSearchModel model);
bool Create(ServiceBindingModel model);
bool Update(ServiceBindingModel model);
bool Delete(ServiceBindingModel model);
}
}

View File

@ -0,0 +1,15 @@
using STOContracts.BindingModels;
using STOContracts.SearchModels;
using STOContracts.ViewModels;
namespace STOContracts.BusinessLogicsContracts
{
public interface ITechnicalWorkLogic
{
List<TechnicalWorkViewModel>? ReadList(TechnicalWorkSearchModel? model);
TechnicalWorkViewModel? ReadElement(TechnicalWorkSearchModel model);
bool Create(TechnicalWorkBindingModel model);
bool Update(TechnicalWorkBindingModel model);
bool Delete(TechnicalWorkBindingModel model);
}
}