public PlantController(FarmBotDbContext farmBotDbContext , IHubContext <CommunicationHub, ICommunicationHub> communicationHubContext) { _farmBotDbContext = farmBotDbContext; _plantRepository = new Repository <Plant>(_farmBotDbContext); _communicationHubContext = communicationHubContext; }
public ParametersController(FarmBotDbContext farmBotDbContext) { _farmBotDbContext = farmBotDbContext; _parametersRepository = new Repository <Parameters>(_farmBotDbContext); }
public EventController(FarmBotDbContext farmBotDbContext) { _farmBotDbContext = farmBotDbContext; _eventRepository = new Repository <Event>(_farmBotDbContext); }
public FarmBotPlantsController(FarmBotDbContext farmBotDbContext) { _farmBotDbContext = farmBotDbContext; _farmBotPlantsRepository = new Repository<FarmBotPlant>(_farmBotDbContext); }