Beispiel #1
0
 public MaintenanceService(IMaintenanceRepo <MaintenanceItem> repo,
                           IConstructionPlanMonthDetailRepo <ConstructionPlanMonthDetail> detailRepo,
                           IConstructionPlanImportRepo <ConstructionPlanYear> importRepo, IAuthHelper authhelper)
 {
     _repo       = repo;
     _importRepo = importRepo;
     _detailRepo = detailRepo;
     _authhelper = authhelper;
     _userID     = _authhelper.GetUserId();
 }
 public ConstructionPlanMonthDetailService(IConstructionPlanMonthDetailRepo <ConstructionPlanMonthDetail> repo,
                                           IConstructionPlanImportRepo <ConstructionPlanYear> importRepo,
                                           IMaintenanceRepo <MaintenanceItem> mRepo,
                                           IConstructionPlanMonthChartRepo <ConstructionPlanMonthChart> chartRepo, IAuthHelper authhelper)
 {
     _repo       = repo;
     _mRepo      = mRepo;
     _chartRepo  = chartRepo;
     _importRepo = importRepo;
     _authhelper = authhelper;
     _userID     = _authhelper.GetUserId();
 }