Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the BillOfMaterialsManagerService
        /// </summary>
        /// <param name="principal"></param>
        /// <param name="bomRepository"></param>
        /// <param name="configuration"></param>
        /// <param name="hostingEnvironment"></param>
        /// <param name="fileRepository"></param>

        public BillOfMaterialsManagerService(IPrincipal principal, IBillOfMaterialRepository bomRepository, IConfiguration configuration, IHostingEnvironment hostingEnvironment, IFileRepository fileRepository, IGraphRepository graphRepository, IRequestRepository requestRepository, IMaterialManagerService materialManager, IEquipmentManagerService equipmentManager)
        {
            _principal          = principal as ClaimsPrincipal;
            _bomRepository      = bomRepository;
            _configuration      = configuration;
            _hostingEnvironment = hostingEnvironment;
            _fileRepository     = fileRepository;
            _graphRepository    = graphRepository;
            _requestRepository  = requestRepository;
            _materialManager    = materialManager;
            _equipmentManager   = equipmentManager;
        }
Exemplo n.º 2
0
 public BillOfMaterialService(
     ILogger <IBillOfMaterialRepository> logger,
     IBillOfMaterialRepository billOfMaterialRepository,
     IApiBillOfMaterialRequestModelValidator billOfMaterialModelValidator,
     IBOLBillOfMaterialMapper bolbillOfMaterialMapper,
     IDALBillOfMaterialMapper dalbillOfMaterialMapper)
     : base(logger,
            billOfMaterialRepository,
            billOfMaterialModelValidator,
            bolbillOfMaterialMapper,
            dalbillOfMaterialMapper)
 {
 }
Exemplo n.º 3
0
 public AbstractBillOfMaterialService(
     ILogger logger,
     IBillOfMaterialRepository billOfMaterialRepository,
     IApiBillOfMaterialRequestModelValidator billOfMaterialModelValidator,
     IBOLBillOfMaterialMapper bolBillOfMaterialMapper,
     IDALBillOfMaterialMapper dalBillOfMaterialMapper)
     : base()
 {
     this.BillOfMaterialRepository     = billOfMaterialRepository;
     this.BillOfMaterialModelValidator = billOfMaterialModelValidator;
     this.BolBillOfMaterialMapper      = bolBillOfMaterialMapper;
     this.DalBillOfMaterialMapper      = dalBillOfMaterialMapper;
     this.logger = logger;
 }
 public BillOfMaterialController(IAccountRepository accountRepository, IBillOfMaterialRepository billOfMaterialRepository, ILogger <BillOfMaterialRepository> logger)
 {
     _accountRepository        = accountRepository;
     _billOfMaterialRepository = billOfMaterialRepository;
     _logger = logger;
 }
 public ApiBillOfMaterialRequestModelValidator(IBillOfMaterialRepository billOfMaterialRepository)
     : base(billOfMaterialRepository)
 {
 }
 public AbstractApiBillOfMaterialRequestModelValidator(IBillOfMaterialRepository billOfMaterialRepository)
 {
     this.billOfMaterialRepository = billOfMaterialRepository;
 }