示例#1
0
 public CodeItemsController(
     NLog.ILogger logger,
     ICodeItemService codeItemService, IUnitOfWorkAsync unitOfWork)
 {
     this.logger      = logger;
     _codeItemService = codeItemService;
     _unitOfWork      = unitOfWork;
 }
示例#2
0
 public FileUploadController(IEmployeeService _empService, ICodeItemService _codeService, IProductService productService, IUnitOfWorkAsync unitOfWork)
 {
     //_iBOMComponentService = iBOMComponentService;
     //_sKUService  = sKUService;
     this._empService  = _empService;
     _unitOfWork       = unitOfWork;
     _productService   = productService;
     this._codeService = _codeService;
 }
 public CodeItemsController(ICodeItemService codeItemService,
                            IWebHostEnvironment webHostEnvironment,
                            ILogger <CodeItemsController> logger,
                            IUnitOfWork unitOfWork)
 {
     _codeItemService    = codeItemService;
     _unitOfWork         = unitOfWork;
     _webHostEnvironment = webHostEnvironment;
     _logger             = logger;
 }
示例#4
0
 public CodeItemController(ICodeItemService codeItemService)
 {
     _codeItemService = codeItemService ?? throw new ArgumentNullException(nameof(codeItemService));
 }
 public CodeItemsController(ICodeItemService codeItemService, IUnitOfWorkAsync unitOfWork)
 {
     _codeItemService = codeItemService;
     _unitOfWork      = unitOfWork;
 }