diff --git a/InternetShop/InternetShopLogics/InternetShopLogics.csproj b/InternetShop/InternetShopLogics/InternetShopLogics.csproj index fa71b7a..b59b415 100644 --- a/InternetShop/InternetShopLogics/InternetShopLogics.csproj +++ b/InternetShop/InternetShopLogics/InternetShopLogics.csproj @@ -6,4 +6,8 @@ enable + + + + diff --git a/InternetShop/InternetShopLogics/Logics/OrderLogic.cs b/InternetShop/InternetShopLogics/Logics/OrderLogic.cs new file mode 100644 index 0000000..70d96c1 --- /dev/null +++ b/InternetShop/InternetShopLogics/Logics/OrderLogic.cs @@ -0,0 +1,43 @@ +using InternetShopContracts.DataBindingModels; +using InternetShopContracts.DataSearchModels; +using InternetShopContracts.DataViewModels; +using InternetShopContracts.LogicsContracts; +using InternetShopContracts.StorageContracts; + +namespace InternetShopLogics.Logics +{ + public class OrderLogic : IOrderLogic + { + private IOrderStorage _orderStorage; + + public OrderLogic(IOrderStorage orderStorage) + { + _orderStorage = orderStorage; + } + + public bool Create(OrderBindingModel model) + { + throw new NotImplementedException(); + } + + public bool Delete(OrderBindingModel model) + { + throw new NotImplementedException(); + } + + public OrderViewModel? ReadElement(OrderSearchModel model) + { + throw new NotImplementedException(); + } + + public List ReadList(OrderSearchModel? model = null) + { + throw new NotImplementedException(); + } + + public bool Update(OrderBindingModel model) + { + throw new NotImplementedException(); + } + } +} diff --git a/InternetShop/InternetShopLogics/Logics/ProductLogic.cs b/InternetShop/InternetShopLogics/Logics/ProductLogic.cs new file mode 100644 index 0000000..6bdaf2d --- /dev/null +++ b/InternetShop/InternetShopLogics/Logics/ProductLogic.cs @@ -0,0 +1,35 @@ +using InternetShopContracts.DataBindingModels; +using InternetShopContracts.DataSearchModels; +using InternetShopContracts.DataViewModels; +using InternetShopContracts.LogicsContracts; + +namespace InternetShopLogics.Logics +{ + public class ProductLogic : IProductLogic + { + public bool Create(ProductBindingModel model) + { + throw new NotImplementedException(); + } + + public bool Delete(ProductBindingModel model) + { + throw new NotImplementedException(); + } + + public ProductViewModel? ReadElement(ProductSearchModel model) + { + throw new NotImplementedException(); + } + + public List ReadList(ProductSearchModel? model = null) + { + throw new NotImplementedException(); + } + + public bool Update(ProductBindingModel model) + { + throw new NotImplementedException(); + } + } +}