Добавление наследования в BusinessLogic
This commit is contained in:
parent
2119b1cc33
commit
e69943e524
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -16,7 +16,7 @@ using DocumentFormat.OpenXml.Spreadsheet;
|
||||
|
||||
namespace FurnitureFactoryBusinessLogic.OfficePackage.Implements
|
||||
{
|
||||
internal class SaveToPdfManager
|
||||
public class SaveToPdfManager
|
||||
{
|
||||
private Document? _document;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user