Ismailov_Rovshan 2023-04-08 21:02:17 +04:00
commit d28125e92d
7 changed files with 16 additions and 16 deletions

View File

@ -7,9 +7,9 @@ namespace FurnitureContracts.BusinessLogicsContracts
public interface IHeadsetLogic public interface IHeadsetLogic
{ {
List<HeadsetViewModel>? ReadList(HeadsetSearchModel? model); List<HeadsetViewModel>? ReadList(HeadsetSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model); HeadsetViewModel? ReadElement(HeadsetSearchModel model);
bool Create(OrdersBindingModel model); bool Create(HeadsetBindingModel model);
bool Update(OrdersBindingModel model); bool Update(HeadsetBindingModel model);
bool Delete(OrdersBindingModel model); bool Delete(HeadsetBindingModel model);
} }
} }

View File

@ -4,12 +4,12 @@ using FurnitureContracts.ViewModel;
namespace FurnitureContracts.BusinessLogicsContracts namespace FurnitureContracts.BusinessLogicsContracts
{ {
public interface IOrdersLogic public interface ISalesSalonsLogic
{ {
List<OrdersViewModel>? ReadList(OrderSearchModel? model); List<SalesSalonsViewModel>? ReadList(SalesSalonsSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model); SalesSalonsViewModel? ReadElement(SalesSalonsSearchModel model);
bool Create(OrdersBindingModel model); bool Create(SalesSalonsBindingModel model);
bool Update(OrdersBindingModel model); bool Update(SalesSalonsBindingModel model);
bool Delete(OrdersBindingModel model); bool Delete(SalesSalonsBindingModel model);
} }
} }

View File

@ -13,7 +13,7 @@ using FurnitureFactoryDataBaseImplements.Implements;
namespace FurnitureFactoryBusinessLogic.BusinessLogic namespace FurnitureFactoryBusinessLogic.BusinessLogic
{ {
internal class HeadsetLogic public class HeadsetLogic : IHeadsetLogic
{ {
private readonly ILogger _logger; private readonly ILogger _logger;
private readonly IHeadsetStorage _headsetStorage; private readonly IHeadsetStorage _headsetStorage;

View File

@ -9,7 +9,7 @@ using FurnitureFactoryDataBaseImplements.Implements;
namespace FurnitureFactoryBusinessLogic.BusinessLogic namespace FurnitureFactoryBusinessLogic.BusinessLogic
{ {
internal class ManagerLogic public class ManagerLogic : IManagerLogic
{ {
private readonly ILogger _logger; private readonly ILogger _logger;
private readonly IManagerStorage _managerStorage; private readonly IManagerStorage _managerStorage;

View File

@ -8,7 +8,7 @@ using FurnitureFactoryDataBaseImplements.Implements;
namespace FurnitureFactoryBusinessLogic.BusinessLogic namespace FurnitureFactoryBusinessLogic.BusinessLogic
{ {
internal class OrderLogic public class OrderLogic : IOrderLogic
{ {
private readonly ILogger _logger; private readonly ILogger _logger;
private readonly IOrdersStorage _orderStorage; private readonly IOrdersStorage _orderStorage;

View File

@ -13,7 +13,7 @@ using FurnitureFactoryDataBaseImplements.Implements;
namespace FurnitureFactoryBusinessLogic.BusinessLogic namespace FurnitureFactoryBusinessLogic.BusinessLogic
{ {
internal class SalesSalonLogic public class SalesSalonLogic : ISalesSalonsLogic
{ {
private readonly ILogger _logger; private readonly ILogger _logger;
private readonly ISalesSalonsStorage _salesSalonStorage; private readonly ISalesSalonsStorage _salesSalonStorage;

View File

@ -16,7 +16,7 @@ using DocumentFormat.OpenXml.Spreadsheet;
namespace FurnitureFactoryBusinessLogic.OfficePackage.Implements namespace FurnitureFactoryBusinessLogic.OfficePackage.Implements
{ {
internal class SaveToPdfManager public class SaveToPdfManager
{ {
private Document? _document; private Document? _document;