diff --git a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/ClientBusinessLogicContract.cs b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/ClientBusinessLogicContract.cs index 18799f7..5b901fc 100644 --- a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/ClientBusinessLogicContract.cs +++ b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/ClientBusinessLogicContract.cs @@ -14,7 +14,7 @@ using System.Threading.Tasks; namespace MagicCarpetBusinessLogic.Implementations; -internal class ClientBusinessLogicContract(IClientStorageContract clientStorageContract, ILogger logger) : IClientBusinessLogicContract +public class ClientBusinessLogicContract(IClientStorageContract clientStorageContract, ILogger logger) : IClientBusinessLogicContract { private readonly ILogger _logger = logger; private readonly IClientStorageContract _clientStorageContract = clientStorageContract; diff --git a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/EmployeeBusinessLogicContract.cs b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/EmployeeBusinessLogicContract.cs index 0be6730..d54e5a9 100644 --- a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/EmployeeBusinessLogicContract.cs +++ b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/EmployeeBusinessLogicContract.cs @@ -14,7 +14,7 @@ using System.Threading.Tasks; namespace MagicCarpetBusinessLogic.Implementations; -internal class EmployeeBusinessLogicContract(IEmployeeStorageContract employeeStorageContract, ILogger logger) : IEmployeeBusinessLogicContract +public class EmployeeBusinessLogicContract(IEmployeeStorageContract employeeStorageContract, ILogger logger) : IEmployeeBusinessLogicContract { private readonly ILogger _logger = logger; private readonly IEmployeeStorageContract _employeeStorageContract = employeeStorageContract; diff --git a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/PostBusinessLogicContract.cs b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/PostBusinessLogicContract.cs index f517f92..f28f10a 100644 --- a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/PostBusinessLogicContract.cs +++ b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/PostBusinessLogicContract.cs @@ -12,7 +12,7 @@ using System.Text.Json; using System.Threading.Tasks; namespace MagicCarpetBusinessLogic.Implementations; -internal class PostBusinessLogicContract(IPostStorageContract postStorageContract, ILogger logger) : IPostBusinessLogicContract +public class PostBusinessLogicContract(IPostStorageContract postStorageContract, ILogger logger) : IPostBusinessLogicContract { private readonly ILogger _logger = logger; private readonly IPostStorageContract _postStorageContract = postStorageContract; diff --git a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/SalaryBusinessLogicContract.cs b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/SalaryBusinessLogicContract.cs index 5502f1b..74ae088 100644 --- a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/SalaryBusinessLogicContract.cs +++ b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/SalaryBusinessLogicContract.cs @@ -11,7 +11,7 @@ using System.Text; using System.Threading.Tasks; namespace MagicCarpetBusinessLogic.Implementations; -internal class SalaryBusinessLogicContract(ISalaryStorageContract salaryStorageContract,ISaleStorageContract saleStorageContract, +public class SalaryBusinessLogicContract(ISalaryStorageContract salaryStorageContract,ISaleStorageContract saleStorageContract, IPostStorageContract postStorageContract, IEmployeeStorageContract employeeStorageContract, ILogger logger) : ISalaryBusinessLogicContract { private readonly ILogger _logger = logger; diff --git a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/SaleBusinessLogicContract.cs b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/SaleBusinessLogicContract.cs index b78fe87..9d77fed 100644 --- a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/SaleBusinessLogicContract.cs +++ b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/SaleBusinessLogicContract.cs @@ -13,7 +13,7 @@ using System.Threading.Tasks; namespace MagicCarpetBusinessLogic.Implementations; -internal class SaleBusinessLogicContract(ISaleStorageContract saleStorageContract, ILogger logger) : ISaleBusinessLogicContract +public class SaleBusinessLogicContract(ISaleStorageContract saleStorageContract, ILogger logger) : ISaleBusinessLogicContract { private readonly ILogger _logger = logger; private readonly ISaleStorageContract _saleStorageContract = saleStorageContract; diff --git a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/TourBusinessLogicContract.cs b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/TourBusinessLogicContract.cs index 29aa8d0..a02d99b 100644 --- a/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/TourBusinessLogicContract.cs +++ b/MagicCarpetProject/MagicCarpetBusinessLogic/Implementations/TourBusinessLogicContract.cs @@ -13,7 +13,7 @@ using System.Threading.Tasks; namespace MagicCarpetBusinessLogic.Implementations; -internal class TourBusinessLogicContract(ITourStorageContract tourStorageContract, ILogger logger) : ITourBusinessLogicContract +public class TourBusinessLogicContract(ITourStorageContract tourStorageContract, ILogger logger) : ITourBusinessLogicContract { private readonly ILogger _logger = logger; private readonly ITourStorageContract _tourStorageContract = tourStorageContract; diff --git a/MagicCarpetProject/MagicCarpetBusinessLogic/MagicCarpetBusinessLogic.csproj b/MagicCarpetProject/MagicCarpetBusinessLogic/MagicCarpetBusinessLogic.csproj index 88544ab..d913e14 100644 --- a/MagicCarpetProject/MagicCarpetBusinessLogic/MagicCarpetBusinessLogic.csproj +++ b/MagicCarpetProject/MagicCarpetBusinessLogic/MagicCarpetBusinessLogic.csproj @@ -7,6 +7,7 @@ + diff --git a/MagicCarpetProject/MagicCarpetProject.sln b/MagicCarpetProject/MagicCarpetProject.sln index 9ded8d3..8f41e20 100644 --- a/MagicCarpetProject/MagicCarpetProject.sln +++ b/MagicCarpetProject/MagicCarpetProject.sln @@ -11,6 +11,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MagicCarpetBusinessLogic", EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MagicCarpetDatabase", "MagicCarpetDatabase\MagicCarpetDatabase.csproj", "{C69B43B2-8680-42D7-A111-306E2E8225FE}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MagicCarpetWebApi", "MagicCarpetWebApi\MagicCarpetWebApi.csproj", "{EB1F990E-6604-4DE4-81A9-2D1D15E0240F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -33,6 +35,10 @@ Global {C69B43B2-8680-42D7-A111-306E2E8225FE}.Debug|Any CPU.Build.0 = Debug|Any CPU {C69B43B2-8680-42D7-A111-306E2E8225FE}.Release|Any CPU.ActiveCfg = Release|Any CPU {C69B43B2-8680-42D7-A111-306E2E8225FE}.Release|Any CPU.Build.0 = Release|Any CPU + {EB1F990E-6604-4DE4-81A9-2D1D15E0240F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EB1F990E-6604-4DE4-81A9-2D1D15E0240F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EB1F990E-6604-4DE4-81A9-2D1D15E0240F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EB1F990E-6604-4DE4-81A9-2D1D15E0240F}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE