Beispiel #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="context">Context DB</param>
 public ToolService(ApplicationDbContext context, IToolTypeService toolTypeService,
                    IThingService thingService)
 {
     _context         = context;
     _toolTypeService = toolTypeService;
     _thingService    = thingService;
 }
 public AssociateToolService(IStateManagementService stateManagementService,
                             IToolTypeService toolTypeService,
                             IToolService toolService,
                             IThingGroupService thingGroupService,
                             IConfiguration configuration)
 {
     _toolTypeService        = toolTypeService;
     _toolService            = toolService;
     _stateManagementService = stateManagementService;
     _thingGroupService      = thingGroupService;
     _configuration          = configuration;
 }
 public ToolTypeController(IToolTypeService context, IToolTypeSearchService contextS)
 {
     _db  = context;
     _dbs = contextS;
 }
Beispiel #4
0
 public ToolTypeController(IToolTypeService toolTypeService)
 {
     _toolTypeService = toolTypeService;
 }
Beispiel #5
0
 public BackupController(IBackUpService context, IToolTypeService contextToolTypes, IToolTypeSearchService contextToolTypesSearch)
 {
     _context                = context;
     _contextToolTypes       = contextToolTypes;
     _contextToolTypesSearch = contextToolTypesSearch;
 }