예제 #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 FactoryExpenseApiController(IFactoryExpenseService factoryExpenseService, IUserService userService)
 {
     this._factoryExpenseService = factoryExpenseService;
     this._userService           = userService;
     userId = Microsoft.AspNet.Identity.IdentityExtensions.GetUserId(RequestContext.Principal.Identity);
 }