Upload files to 'STOContracts/StorageContracts'
This commit is contained in:
parent
b816caef63
commit
106d50af77
21
STOContracts/StorageContracts/ICarPartStorage.cs
Normal file
21
STOContracts/StorageContracts/ICarPartStorage.cs
Normal file
@ -0,0 +1,21 @@
|
||||
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.StorageContracts
|
||||
{
|
||||
public interface ICarPartStorage
|
||||
{
|
||||
List<CarPartViewModel> GetFullList();
|
||||
List<CarPartViewModel> GetFilteredList(CarPartSearchModel model);
|
||||
CarPartViewModel? GetElement(CarPartSearchModel model);
|
||||
CarPartViewModel? Insert(CarPartBindingModel model);
|
||||
CarPartViewModel? Update(CarPartBindingModel model);
|
||||
CarPartViewModel? Delete(CarPartBindingModel model);
|
||||
}
|
||||
}
|
21
STOContracts/StorageContracts/ICarStorage.cs
Normal file
21
STOContracts/StorageContracts/ICarStorage.cs
Normal file
@ -0,0 +1,21 @@
|
||||
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.StorageContracts
|
||||
{
|
||||
public interface ICarStorage
|
||||
{
|
||||
List<CarViewModel> GetFullList();
|
||||
List<CarViewModel> GetFilteredList(CarSearchModel model);
|
||||
CarViewModel? GetElement(CarSearchModel model);
|
||||
CarViewModel? Insert(CarBindingModel model);
|
||||
CarViewModel? Update(CarBindingModel model);
|
||||
CarViewModel? Delete(CarBindingModel model);
|
||||
}
|
||||
}
|
22
STOContracts/StorageContracts/IClientStorage.cs
Normal file
22
STOContracts/StorageContracts/IClientStorage.cs
Normal file
@ -0,0 +1,22 @@
|
||||
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.StorageContracts
|
||||
{
|
||||
public interface IClientStorage
|
||||
{
|
||||
List<ClientViewModel> GetFullList();
|
||||
List<ClientViewModel> GetFilteredList(ClientSearchModel model);
|
||||
ClientViewModel? GetElement(ClientSearchModel model);
|
||||
ClientViewModel? Insert(ClientBindingModel model);
|
||||
ClientViewModel? Update(ClientBindingModel model);
|
||||
ClientViewModel? Delete(ClientBindingModel model);
|
||||
}
|
||||
}
|
||||
|
21
STOContracts/StorageContracts/IServiceStorage.cs
Normal file
21
STOContracts/StorageContracts/IServiceStorage.cs
Normal file
@ -0,0 +1,21 @@
|
||||
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.StorageContracts
|
||||
{
|
||||
public interface IServiceStorage
|
||||
{
|
||||
List<ServiceViewModel> GetFullList();
|
||||
List<ServiceViewModel> GetFilteredList(ServiceSearchModel model);
|
||||
ServiceViewModel? GetElement(ServiceSearchModel model);
|
||||
ServiceViewModel? Insert(ServiceBindingModel model);
|
||||
ServiceViewModel? Update(ServiceBindingModel model);
|
||||
ServiceViewModel? Delete(ServiceBindingModel model);
|
||||
}
|
||||
}
|
16
STOContracts/StorageContracts/ITechnicalWorkStorage.cs
Normal file
16
STOContracts/StorageContracts/ITechnicalWorkStorage.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using STOContracts.BindingModels;
|
||||
using STOContracts.SearchModels;
|
||||
using STOContracts.ViewModels;
|
||||
|
||||
namespace STOContracts.StoragesContracts
|
||||
{
|
||||
public interface ITechnicalWorkStorage
|
||||
{
|
||||
List<TechnicalWorkViewModel> GetFullList();
|
||||
List<TechnicalWorkViewModel> GetFilteredList(TechnicalWorkSearchModel model);
|
||||
TechnicalWorkViewModel? GetElement(TechnicalWorkSearchModel model);
|
||||
TechnicalWorkViewModel? Insert(TechnicalWorkBindingModel model);
|
||||
TechnicalWorkViewModel? Update(TechnicalWorkBindingModel model);
|
||||
TechnicalWorkViewModel? Delete(TechnicalWorkBindingModel model);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user