Upload files to 'ShipyardContracts/StorageContracts'
This commit is contained in:
parent
19483703b7
commit
8511b1f207
15
ShipyardContracts/StorageContracts/IOrderStorage.cs
Normal file
15
ShipyardContracts/StorageContracts/IOrderStorage.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
using ShipyardContracts.BindingModels;
|
||||||
|
using ShipyardContracts.SearchModels;
|
||||||
|
using ShipyardContracts.ViewModels;
|
||||||
|
namespace ShipyardContracts.StoragesContracts
|
||||||
|
{
|
||||||
|
public interface IOrderStorage
|
||||||
|
{
|
||||||
|
List<OrderViewModel> GetFullList();
|
||||||
|
List<OrderViewModel> GetFilteredList(OrderSearchModel model);
|
||||||
|
OrderViewModel? GetElement(OrderSearchModel model);
|
||||||
|
OrderViewModel? Insert(OrderBindingModel model);
|
||||||
|
OrderViewModel? Update(OrderBindingModel model);
|
||||||
|
OrderViewModel? Delete(OrderBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
15
ShipyardContracts/StorageContracts/IShipStorage.cs
Normal file
15
ShipyardContracts/StorageContracts/IShipStorage.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
using ShipyardContracts.BindingModels;
|
||||||
|
using ShipyardContracts.SearchModels;
|
||||||
|
using ShipyardContracts.ViewModels;
|
||||||
|
namespace ShipyardContracts.StoragesContracts
|
||||||
|
{
|
||||||
|
public interface IShipStorage
|
||||||
|
{
|
||||||
|
List<ShipViewModel> GetFullList();
|
||||||
|
List<ShipViewModel> GetFilteredList(ShipSearchModel model);
|
||||||
|
ShipViewModel? GetElement(ShipSearchModel model);
|
||||||
|
ShipViewModel? Insert(ShipBindingModel model);
|
||||||
|
ShipViewModel? Update(ShipBindingModel model);
|
||||||
|
ShipViewModel? Delete(ShipBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
15
ShipyardContracts/StorageContracts/IcomponentStorage.cs
Normal file
15
ShipyardContracts/StorageContracts/IcomponentStorage.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
using ShipyardContracts.BindingModels;
|
||||||
|
using ShipyardContracts.SearchModels;
|
||||||
|
using ShipyardContracts.ViewModels;
|
||||||
|
namespace ShipyardContracts.StoragesContracts
|
||||||
|
{
|
||||||
|
public interface IComponentStorage
|
||||||
|
{
|
||||||
|
List<ComponentViewModel> GetFullList();
|
||||||
|
List<ComponentViewModel> GetFilteredList(ComponentSearchModel model);
|
||||||
|
ComponentViewModel? GetElement(ComponentSearchModel model);
|
||||||
|
ComponentViewModel? Insert(ComponentBindingModel model);
|
||||||
|
ComponentViewModel? Update(ComponentBindingModel model);
|
||||||
|
ComponentViewModel? Delete(ComponentBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user