diff --git a/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IBuidStorage.cs b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IBuidStorage.cs new file mode 100644 index 0000000..fba13ee --- /dev/null +++ b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IBuidStorage.cs @@ -0,0 +1,16 @@ +using ComputerHardwareStoreContracts.BindingModels; +using ComputerHardwareStoreContracts.SearchModels; +using ComputerHardwareStoreContracts.ViewModels; + +namespace ComputerHardwareStoreContracts.StorageContracts +{ + public interface IBuidStorage + { + List GetFullList(); + List GetFilteredList(BuildSearchModel model); + BuildViewModel? GetElement(BuildSearchModel model); + BuildViewModel? Insert(BuildBindingModel model); + BuildViewModel? Update(BuildBindingModel model); + BuildViewModel? Delete(BuildBindingModel model); + } +} diff --git a/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/ICommentStorage.cs b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/ICommentStorage.cs new file mode 100644 index 0000000..feea16e --- /dev/null +++ b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/ICommentStorage.cs @@ -0,0 +1,16 @@ +using ComputerHardwareStoreContracts.BindingModels; +using ComputerHardwareStoreContracts.SearchModels; +using ComputerHardwareStoreContracts.ViewModels; + +namespace ComputerHardwareStoreContracts.StorageContracts +{ + public interface ICommentStorage + { + List GetFullList(); + List GetFilteredList(CommentSearchModel model); + CommentViewModel? GetElement(CommentSearchModel model); + CommentViewModel? Insert(CommentBindingModel model); + CommentViewModel? Update(CommentBindingModel model); + CommentViewModel? Delete(CommentBindingModel model); + } +} diff --git a/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IComponentStorage.cs b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IComponentStorage.cs new file mode 100644 index 0000000..c7e606d --- /dev/null +++ b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IComponentStorage.cs @@ -0,0 +1,16 @@ +using ComputerHardwareStoreContracts.BindingModels; +using ComputerHardwareStoreContracts.SearchModels; +using ComputerHardwareStoreContracts.ViewModels; + +namespace ComputerHardwareStoreContracts.StorageContracts +{ + public interface IComponentStorage + { + List GetFullList(); + List GetFilteredList(ComponentSearchModel model); + ComponentViewModel? GetElement(ComponentSearchModel model); + ComponentViewModel? Insert(ComponentBindingModel model); + ComponentViewModel? Update(ComponentBindingModel model); + ComponentViewModel? Delete(ComponentBindingModel model); + } +} diff --git a/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IOrderStorage.cs b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IOrderStorage.cs new file mode 100644 index 0000000..85a0104 --- /dev/null +++ b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IOrderStorage.cs @@ -0,0 +1,16 @@ +using ComputerHardwareStoreContracts.BindingModels; +using ComputerHardwareStoreContracts.SearchModels; +using ComputerHardwareStoreContracts.ViewModels; + +namespace ComputerHardwareStoreContracts.StorageContracts +{ + public interface IOrderStorage + { + List GetFullList(); + List GetFilteredList(OrderSearchModel model); + OrderViewModel? GetElement(OrderSearchModel model); + OrderViewModel? Insert(OrderBindingModel model); + OrderViewModel? Update(OrderBindingModel model); + OrderViewModel? Delete(OrderBindingModel model); + } +} diff --git a/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IProductStorage.cs b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IProductStorage.cs new file mode 100644 index 0000000..393f523 --- /dev/null +++ b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IProductStorage.cs @@ -0,0 +1,16 @@ +using ComputerHardwareStoreContracts.BindingModels; +using ComputerHardwareStoreContracts.SearchModels; +using ComputerHardwareStoreContracts.ViewModels; + +namespace ComputerHardwareStoreContracts.StorageContracts +{ + public interface IProductStorage + { + List GetFullList(); + List GetFilteredList(ProductSearchModel model); + ProductViewModel? GetElement(ProductSearchModel model); + ProductViewModel? Insert(ProductBindingModel model); + ProductViewModel? Update(ProductBindingModel model); + ProductViewModel? Delete(ProductBindingModel model); + } +} diff --git a/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IPurchaseStorage.cs b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IPurchaseStorage.cs new file mode 100644 index 0000000..af6b649 --- /dev/null +++ b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IPurchaseStorage.cs @@ -0,0 +1,16 @@ +using ComputerHardwareStoreContracts.BindingModels; +using ComputerHardwareStoreContracts.SearchModels; +using ComputerHardwareStoreContracts.ViewModels; + +namespace ComputerHardwareStoreContracts.StorageContracts +{ + public interface IPurchaseStorage + { + List GetFullList(); + List GetFilteredList(PurchaseSearchModel model); + PurchaseViewModel? GetElement(PurchaseSearchModel model); + PurchaseViewModel? Insert(PurchaseBindingModel model); + PurchaseViewModel? Update(PurchaseBindingModel model); + PurchaseViewModel? Delete(PurchaseBindingModel model); + } +} diff --git a/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IStoreKeeperStorage.cs b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IStoreKeeperStorage.cs new file mode 100644 index 0000000..69f57d1 --- /dev/null +++ b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IStoreKeeperStorage.cs @@ -0,0 +1,16 @@ +using ComputerHardwareStoreContracts.BindingModels; +using ComputerHardwareStoreContracts.SearchModels; +using ComputerHardwareStoreContracts.ViewModels; + +namespace ComputerHardwareStoreContracts.StorageContracts +{ + public interface IStoreKeeperStorage + { + List GetFullList(); + List GetFilteredList(StoreKeeperSearchModel model); + StoreKeeperViewModel? GetElement(StoreKeeperSearchModel model); + StoreKeeperViewModel? Insert(StoreKeeperBindingModel model); + StoreKeeperViewModel? Update(StoreKeeperBindingModel model); + StoreKeeperViewModel? Delete(StoreKeeperBindingModel model); + } +} diff --git a/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IVendorStorage.cs b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IVendorStorage.cs new file mode 100644 index 0000000..96c9e1a --- /dev/null +++ b/ComputerHardwareStore/ComputerHardwareStoreContracts/StorageContracts/IVendorStorage.cs @@ -0,0 +1,16 @@ +using ComputerHardwareStoreContracts.BindingModels; +using ComputerHardwareStoreContracts.SearchModels; +using ComputerHardwareStoreContracts.ViewModels; + +namespace ComputerHardwareStoreContracts.StorageContracts +{ + public interface IVendorStorage + { + List GetFullList(); + List GetFilteredList(VendorSearchModel model); + VendorViewModel? GetElement(VendorSearchModel model); + VendorViewModel? Insert(VendorBindingModel model); + VendorViewModel? Update(VendorBindingModel model); + VendorViewModel? Delete(VendorBindingModel model); + } +}