Upload files to 'STOContracts/BusinessLogicContracts'
This commit is contained in:
parent
0d33d74751
commit
baef76384e
15
STOContracts/BusinessLogicContracts/ICarLogic.cs
Normal file
15
STOContracts/BusinessLogicContracts/ICarLogic.cs
Normal 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);
|
||||
}
|
||||
}
|
20
STOContracts/BusinessLogicContracts/ICarPartLogic.cs
Normal file
20
STOContracts/BusinessLogicContracts/ICarPartLogic.cs
Normal 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);
|
||||
}
|
||||
}
|
20
STOContracts/BusinessLogicContracts/IClientLogic.cs
Normal file
20
STOContracts/BusinessLogicContracts/IClientLogic.cs
Normal 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);
|
||||
}
|
||||
}
|
15
STOContracts/BusinessLogicContracts/IServiceLogic.cs
Normal file
15
STOContracts/BusinessLogicContracts/IServiceLogic.cs
Normal 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);
|
||||
}
|
||||
}
|
15
STOContracts/BusinessLogicContracts/ITechnicalWorkLogic.cs
Normal file
15
STOContracts/BusinessLogicContracts/ITechnicalWorkLogic.cs
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user