diff --git a/TheButcherShopContracts/ButcherShopBusinessLogic/ButcherShopBusinessLogic.csproj b/TheButcherShopContracts/ButcherShopBusinessLogic/ButcherShopBusinessLogic.csproj
new file mode 100644
index 0000000..9d8cf88
--- /dev/null
+++ b/TheButcherShopContracts/ButcherShopBusinessLogic/ButcherShopBusinessLogic.csproj
@@ -0,0 +1,13 @@
+
+
+
+ net8.0
+ enable
+ enable
+
+
+
+
+
+
+
diff --git a/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/PostBusinessLogicContract.cs b/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/PostBusinessLogicContract.cs
new file mode 100644
index 0000000..6c36d0b
--- /dev/null
+++ b/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/PostBusinessLogicContract.cs
@@ -0,0 +1,45 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using TheButcherShopContracts.BusinessLogicContracts;
+using TheButcherShopContracts.DataModels;
+using TheButcherShopContracts.Enums;
+
+namespace ButcherShopBusinessLogic.Implementations;
+
+internal class PostBusinessLogicContract : IPostBusinessLogicContract
+{
+ public List GetAllPosts(bool onlyActive = true)
+ {
+ return [];
+ }
+
+ public List GetAllDataOfPost(string postId)
+ {
+ return [];
+ }
+
+ public PostDataModel GetPostByData(string data)
+ {
+ return new("", "", PostType.None, 0, true, DateTime.UtcNow);
+ }
+
+ public void InsertPost(PostDataModel postDataModel)
+ {
+ }
+
+ public void UpdatePost(PostDataModel postDataModel)
+ {
+ }
+
+ public void DeletePost(string id)
+ {
+ }
+
+ public void RestorePost(string id)
+ {
+ }
+
+}
diff --git a/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/ProductBusinessLogicContract.cs b/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/ProductBusinessLogicContract.cs
new file mode 100644
index 0000000..22653b5
--- /dev/null
+++ b/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/ProductBusinessLogicContract.cs
@@ -0,0 +1,41 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using TheButcherShopContracts.BusinessLogicContracts;
+using TheButcherShopContracts.DataModels;
+using TheButcherShopContracts.Enums;
+
+namespace ButcherShopBusinessLogic.Implementations;
+
+internal class ProductBusinessLogicContract : IProductBusinessLogicContract
+{
+ public List GetAllProducts(bool onlyActive)
+ {
+ return [];
+ }
+
+ public List GetProductHistoryByProduct(string productId)
+ {
+ return [];
+ }
+
+ public ProductDataModel GetProductByData(string data)
+ {
+ return new("", "", ProductType.None, 0, true);
+ }
+
+ public void InsertProduct(ProductDataModel productDataModel)
+ {
+ }
+
+ public void UpdateProduct(ProductDataModel productDataModel)
+ {
+ }
+
+ public void DeleteProduct(string id)
+ {
+ }
+
+}
diff --git a/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/SalaryBusinessLogicContract.cs b/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/SalaryBusinessLogicContract.cs
new file mode 100644
index 0000000..d999e01
--- /dev/null
+++ b/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/SalaryBusinessLogicContract.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using TheButcherShopContracts.BusinessLogicContracts;
+using TheButcherShopContracts.DataModels;
+
+namespace ButcherShopBusinessLogic.Implementations;
+
+internal class SalaryBusinessLogicContract : ISalaryBusinessLogicContract
+{
+ public List GetAllSalariesByPeriod(DateTime fromDate, DateTime toDate)
+ {
+ return [];
+ }
+
+ public List GetAllSalariesByPeriodByWorker(DateTime fromDate, DateTime toDate, string workerId)
+ {
+ return [];
+ }
+
+ public void CalculateSalaryByMounth(DateTime date)
+ {
+ }
+}
diff --git a/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/SaleBusinessLogicContract.cs b/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/SaleBusinessLogicContract.cs
new file mode 100644
index 0000000..72db250
--- /dev/null
+++ b/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/SaleBusinessLogicContract.cs
@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using TheButcherShopContracts.BusinessLogicContracts;
+using TheButcherShopContracts.DataModels;
+
+namespace ButcherShopBusinessLogic.Implementations;
+
+internal class SaleBusinessLogicContract : ISaleBusinessLogicContract
+{
+ public List GetAllSalesByPeriod(DateTime fromDate, DateTime toDate)
+ {
+ return [];
+ }
+ public List GetAllSalesByWorkerByPeriod(string workerId,
+ DateTime fromDate, DateTime toDate)
+ {
+ return [];
+ }
+ public List GetAllSalesByBuyerByPeriod(string? buyerId,
+ DateTime fromDate, DateTime toDate)
+ {
+ return [];
+ }
+ public List GetAllSalesByProductByPeriod(string productId,
+ DateTime fromDate, DateTime toDate)
+ {
+ return [];
+ }
+ public SaleDataModel GetSaleByData(string data)
+ {
+ return new("", "", 0, false, []);
+ }
+ public void InsertSale(SaleDataModel saleDataModel)
+ {
+ }
+
+ public void CancelSale(string id)
+ {
+ }
+}
diff --git a/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/WorkerBusinessLogicContract.cs b/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/WorkerBusinessLogicContract.cs
new file mode 100644
index 0000000..e3a687a
--- /dev/null
+++ b/TheButcherShopContracts/ButcherShopBusinessLogic/Implementations/WorkerBusinessLogicContract.cs
@@ -0,0 +1,45 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using TheButcherShopContracts.BusinessLogicContracts;
+using TheButcherShopContracts.DataModels;
+
+namespace ButcherShopBusinessLogic.Implementations;
+
+internal class WorkerBusinessLogicContract : IWorkerBusinessLogicContract
+{
+ public List GetAllWorkers(bool onlyActive = true)
+ {
+ return [];
+ }
+ public List GetAllWorkersByPost(string postId, bool
+ onlyActive = true)
+ {
+ return [];
+ }
+ public List GetAllWorkersByBirthDate(DateTime fromDate,
+ DateTime toDate, bool onlyActive = true)
+ {
+ return [];
+ }
+ public List GetAllWorkersByEmploymentDate(DateTime
+ fromDate, DateTime toDate, bool onlyActive = true)
+ {
+ return [];
+ }
+ public WorkerDataModel GetWorkerByData(string data)
+ {
+ return new("", "", "", "", DateTime.Now, DateTime.Now, true);
+ }
+ public void InsertWorker(WorkerDataModel workerDataModel)
+ {
+ }
+ public void UpdateWorker(WorkerDataModel workerDataModel)
+ {
+ }
+ public void DeleteWorker(string id)
+ {
+ }
+}
diff --git a/TheButcherShopContracts/TheButcherShopContracts.sln b/TheButcherShopContracts/TheButcherShopContracts.sln
index 2146b6c..b239f1f 100644
--- a/TheButcherShopContracts/TheButcherShopContracts.sln
+++ b/TheButcherShopContracts/TheButcherShopContracts.sln
@@ -5,7 +5,9 @@ VisualStudioVersion = 17.11.35222.181
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TheButcherShopContracts", "TheButcherShopContracts\TheButcherShopContracts.csproj", "{7F6E84F5-9CC5-4B63-BFCB-D87ACC271662}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ButcherShopTests", "ButcherShopTests\ButcherShopTests.csproj", "{CE3DE04B-7F25-450D-8AEC-E28DF2B23818}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ButcherShopTests", "ButcherShopTests\ButcherShopTests.csproj", "{CE3DE04B-7F25-450D-8AEC-E28DF2B23818}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ButcherShopBusinessLogic", "ButcherShopBusinessLogic\ButcherShopBusinessLogic.csproj", "{1C9F1D3F-1B91-441A-9840-57AA20712B14}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -21,6 +23,10 @@ Global
{CE3DE04B-7F25-450D-8AEC-E28DF2B23818}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CE3DE04B-7F25-450D-8AEC-E28DF2B23818}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CE3DE04B-7F25-450D-8AEC-E28DF2B23818}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1C9F1D3F-1B91-441A-9840-57AA20712B14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1C9F1D3F-1B91-441A-9840-57AA20712B14}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1C9F1D3F-1B91-441A-9840-57AA20712B14}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1C9F1D3F-1B91-441A-9840-57AA20712B14}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE