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
{
List<HeadsetViewModel>? ReadList(HeadsetSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model);
bool Create(OrdersBindingModel model);
bool Update(OrdersBindingModel model);
bool Delete(OrdersBindingModel model);
HeadsetViewModel? ReadElement(HeadsetSearchModel model);
bool Create(HeadsetBindingModel model);
bool Update(HeadsetBindingModel model);
bool Delete(HeadsetBindingModel model);
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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