Beispiel #1
0
 public useradminController(IAccountRepository _rightRepository, IDataCenterRepository _datacenterRepository, IMaterialRepository _materialRepository, ICostanalysisRepository _costanalysisRepository)
 {
     accountService = new AccountService(_rightRepository);
     centerService = new DataCenterService(_datacenterRepository);
     materialService = new MaterialService(_materialRepository);
     costanalysisService = new CostanalysisService(_costanalysisRepository);
 }
 public useradminController(IAccountRepository _rightRepository, IDataCenterRepository _datacenterRepository, IMaterialRepository _materialRepository, ICostanalysisRepository _costanalysisRepository)
 {
     accountService      = new AccountService(_rightRepository);
     centerService       = new DataCenterService(_datacenterRepository);
     materialService     = new MaterialService(_materialRepository);
     costanalysisService = new CostanalysisService(_costanalysisRepository);
 }
 public costanalysisController(IMaterialRepository _materialRepository, ICostanalysisRepository _costanalysisRepository)
 {
     materialService = new MaterialService(_materialRepository);
     costanalysisService = new CostanalysisService(_costanalysisRepository);
 }
Beispiel #4
0
 public costanalysisController(IMaterialRepository _materialRepository, ICostanalysisRepository _costanalysisRepository)
 {
     materialService     = new MaterialService(_materialRepository);
     costanalysisService = new CostanalysisService(_costanalysisRepository);
 }
Beispiel #5
0
 public materialController(IMaterialRepository _materialRepository, ICostanalysisRepository _costanalysisRepository,IManagementRepository _managementRepository)
 {
     materialService = new MaterialService(_materialRepository);
     costanalysisService = new CostanalysisService(_costanalysisRepository);
     managementService = new ManagementService(_managementRepository);
 }