コード例 #1
0
 public BatchService(IBatchDataService dataService, IUserService userService, ISupplyDataService supplyDataService,
                     IFactoryExpenseService factoryExpenseService, ILabourCostService labourCostService,
                     IMachineRepairService machineRepairService, IOtherExpenseService otherExpenseService,
                     IBatchOutPutService batchOutPutService, ISupplyService supplyService)
 {
     this._dataService           = dataService;
     this._userService           = userService;
     this._supplyDataService     = supplyDataService;
     this._factoryExpenseService = factoryExpenseService;
     this._labourCostService     = labourCostService;
     this._machineRepairService  = machineRepairService;
     this._otherExpenseService   = otherExpenseService;
     this._batchOutPutService    = batchOutPutService;
     this._supplyService         = supplyService;
 }
コード例 #2
0
 public BatchOutPutApiController(IBatchOutPutService batchOutPutService, IUserService userService)
 {
     this._batchOutPutService = batchOutPutService;
     this._userService        = userService;
     userId = Microsoft.AspNet.Identity.IdentityExtensions.GetUserId(RequestContext.Principal.Identity);
 }