public HomeController(IAreaRepository areaRepository, IDeviceRepository devRepository,
                       IUserRepository userRepository, IAppSettingRepository appSettingRepository, IAuditLogRepository auditLogRepository, ITransportPlanRepository transportPlanRepository)
     : base(areaRepository)
 {
     this.areaRepository          = areaRepository;
     this.devRepository           = devRepository;
     this.userRepository          = userRepository;
     this.appSettingRepository    = appSettingRepository;
     this.auditLogRepository      = auditLogRepository;
     this.transportPlanRepository = transportPlanRepository;
 }
Exemple #2
0
 public TransportPlanController(ITransportPlanRepository transportPlanRepository,
                                IAreaRepository areaRepository,
                                IAuditLogRepository auditLogRepository,
                                IDevicePlanRecordRepository devicePlanRepository,
                                IDtuGpsRepository dtuGpsRepository,
                                IDeviceRepository deviceRepository)
     : base(areaRepository)
 {
     this.transportPlanRepository = transportPlanRepository;
     this.areaRepository          = areaRepository;
     this.auditLogRepository      = auditLogRepository;
     this.devicePlanRepository    = devicePlanRepository;
     this.dtuGpsRepository        = dtuGpsRepository;
     this.deviceRepository        = deviceRepository;
 }