diff --git a/FurnitureFactory/FurnitureContracts/BindingModels/HeadsetModuleModel.cs b/FurnitureFactory/FurnitureContracts/BindingModels/HeadsetModuleBindingModel.cs similarity index 85% rename from FurnitureFactory/FurnitureContracts/BindingModels/HeadsetModuleModel.cs rename to FurnitureFactory/FurnitureContracts/BindingModels/HeadsetModuleBindingModel.cs index 9c2b8cc..67fe0d6 100644 --- a/FurnitureFactory/FurnitureContracts/BindingModels/HeadsetModuleModel.cs +++ b/FurnitureFactory/FurnitureContracts/BindingModels/HeadsetModuleBindingModel.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace FurnitureContracts.BindingModels { - internal class HeadsetModuleModel : IHeadsetModuleModel + internal class HeadsetModuleBindingModel : IHeadsetModuleModel { public string Style { get; set; } = string.Empty; diff --git a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IFurnitureLogic.cs b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IFurnitureLogic.cs new file mode 100644 index 0000000..83c6d07 --- /dev/null +++ b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IFurnitureLogic.cs @@ -0,0 +1,20 @@ +using FurnitureContracts.BindingModels; +using FurnitureContracts.SearchModels; +using FurnitureContracts.ViewModel; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace FurnitureContracts.BusinessLogicsContracts +{ + interface IFurnitureLogic + { + List? ReadList(FurnitureSearchModel? model); + FurnitureViewModel? ReadElement(FurnitureSearchModel model); + bool Create(FurnitureBindingModel model); + bool Update(FurnitureBindingModel model); + bool Delete(FurnitureBindingModel model); + } +} diff --git a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IHeadsetModuleLogic.cs b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IHeadsetModuleLogic.cs new file mode 100644 index 0000000..fcc064b --- /dev/null +++ b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IHeadsetModuleLogic.cs @@ -0,0 +1,20 @@ +using FurnitureContracts.BindingModels; +using FurnitureContracts.SearchModels; +using FurnitureContracts.ViewModel; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace FurnitureContracts.BusinessLogicsContracts +{ + internal interface IHeadsetModuleLogic + { + List? ReadList(HeadsetModuleSearchModel? model); + HeadsetModuleViewModel? ReadElement(HeadsetModuleSearchModel model); + bool Create(HeadsetModuleBindingModel model); + bool Update(HeadsetModuleBindingModel model); + bool Delete(HeadsetModuleBindingModel model); + } +} diff --git a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IMaterialLogic.cs b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IMaterialLogic.cs new file mode 100644 index 0000000..1712c95 --- /dev/null +++ b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IMaterialLogic.cs @@ -0,0 +1,20 @@ +using FurnitureContracts.BindingModels; +using FurnitureContracts.SearchModels; +using FurnitureContracts.ViewModel; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace FurnitureContracts.BusinessLogicsContracts +{ + interface IMaterialLogic + { + List? ReadList(MaterialSearchModel? model); + MaterialViewModel? ReadElement(MaterialSearchModel model); + bool Create(MaterialBindingModel model); + bool Update(MaterialBindingModel model); + bool Delete(MaterialBindingModel model); + } +} diff --git a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IOrdersLogic.cs b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IOrdersLogic.cs index 8bd95b2..26136ad 100644 --- a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IOrdersLogic.cs +++ b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IOrdersLogic.cs @@ -4,7 +4,7 @@ using FurnitureContracts.ViewModel; namespace FurnitureContracts.BusinessLogicsContracts { - public class IOrdersLogic + interface IOrdersLogic { List? ReadList(OrderSearchModel? model); OrdersViewModel? ReadElement(OrderSearchModel model); diff --git a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IUserLogic.cs b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IUserLogic.cs new file mode 100644 index 0000000..e13c124 --- /dev/null +++ b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IUserLogic.cs @@ -0,0 +1,20 @@ +using FurnitureContracts.BindingModels; +using FurnitureContracts.SearchModels; +using FurnitureContracts.ViewModel; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace FurnitureContracts.BusinessLogicsContracts +{ + interface IUserLogic + { + List? ReadList(UserSearchModel? model); + UserViewModel? ReadElement(UserSearchModel model); + bool Create(UserBindingModel model); + bool Update(UserBindingModel model); + bool Delete(UserBindingModel model); + } +}