Exemplo n.º 1
0
        public QualityManagementController(
            ILogger <QualityManagementController> logger,

            ISlSaleOrderService ISlSaleOrderService,
            IPrProductService IPrProductService,
            IAcDepartmentService IAcDepartmentService,
            IAcStaffService IAcStaffService,
            IPuOrderService IPuOrderService,
            IQmCommodityService IQmCommodityService,
            IPrProductTaskService IPrProductTaskService,
            IQmProductService IQmProductService,
            IPuCommodityServicce IPuCommodityService,
            IServiceProvider service,

            IMapper IMapper,
            IHttpContextAccessor httpContextAccessor
            )
        {
            _logger = logger;

            _ISlSaleOrderService   = ISlSaleOrderService;
            _IPrProductService     = IPrProductService;
            _IAcDepartmentService  = IAcDepartmentService;
            _IAcStaffService       = IAcStaffService;
            _IPuOrderService       = IPuOrderService;
            _IQmCommodityService   = IQmCommodityService;
            _IPrProductTaskService = IPrProductTaskService;
            _IQmProductService     = IQmProductService;
            _IPuCommodityService   = IPuCommodityService;
            _service = service;

            _IMapper     = IMapper;
            _httpContext = httpContextAccessor;
        }
        public SaleManagementController(
            ILogger <SaleManagementController> logger,

            ISlSaleOrderService ISlSaleOrderService,
            IPrProductService IPrProductService,
            IAcDepartmentService IAcDepartmentService,
            IAcStaffService IAcStaffService,
            ISlOrderService ISlOrderService,
            ISlCustomerService ISlCustomerService,
            IPrProductCategoryService IPrProductCategoryService,
            IServiceProvider service,

            IPuCommodityCategoryService puCommodityCategoryService,
            IPuOrderService IpuOrderService,
            IPuCommodityServicce IpuCommodityServicce,

            IMapper IMapper,
            IHttpContextAccessor httpContextAccessor
            )
        {
            _logger = logger;

            _ISlSaleOrderService       = ISlSaleOrderService;
            _IPrProductService         = IPrProductService;
            _IAcDepartmentService      = IAcDepartmentService;
            _IAcStaffService           = IAcStaffService;
            _ISlOrderService           = ISlOrderService;
            _ISlCustomerService        = ISlCustomerService;
            _IPrProductCategoryService = IPrProductCategoryService;
            _service = service;

            _IpuOrderService            = IpuOrderService;
            _puCommodityCategoryService = puCommodityCategoryService;
            _IpuCommodityServicce       = IpuCommodityServicce;

            _IMapper     = IMapper;
            _httpContext = httpContextAccessor;
        }