/// <summary>
 /// Constructor
 /// </summary>
 public MaintenanceTypeBaseController(IMaintenanceTypeService maintenanceTypeService)
 {
     if (maintenanceTypeService == null)
     {
         throw new ArgumentNullException("maintenanceTypeService");
     }
     this.maintenanceTypeService = maintenanceTypeService;
 }
Пример #2
0
 public MaintenanceTypeController(IHttpContextAccessor httpContextAccessor,
                                  IUserService userService,
                                  IMaintenanceTypeService maintenanceTypeService,
                                  IOptionService optionService) : base(httpContextAccessor, userService)
 {
     _optionService          = optionService;
     _maintenanceTypeService = maintenanceTypeService;
 }
Пример #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 public MaintenanceTypeController(IMaintenanceTypeService maintenanceTypeService)
 {
     this.maintenanceTypeService = maintenanceTypeService;
 }
 public MaintenanceTaskTypeController(IMaintenanceTypeService maintenanceTypeService)
 {
     _maintenanceTypeService = maintenanceTypeService;
 }
 public MaintenanceTaskTypeController()
 {
     _maintenanceTypeService = IMaintenanceTypeServiceFactory.Create();
 }