Beispiel #1
0
 public AnalyticsController(IRepository <ElectricityReading, int> analyticRepository,
                            IRepository <Panel, string> panelRepository, SolarEnergySystemDatabaseContext context)
 {
     _analyticRepository = analyticRepository;
     _panelRepository    = panelRepository;
     _context            = context;
 }
Beispiel #2
0
 public ElectricityReadingRepository(SolarEnergySystemDatabaseContext dbContext)
     : base(dbContext)
 {
     context = dbContext;
 }
 public EntityFrameworkRepository(SolarEnergySystemDatabaseContext context)
 {
     _context = context;
 }
Beispiel #4
0
 public PanelsController(SolarEnergySystemDatabaseContext context)
 {
     _context = context;
 }
 public PanelRepository(SolarEnergySystemDatabaseContext context)
 {
     _context = context;
 }
Beispiel #6
0
 public ElectricityReadingRepository(SolarEnergySystemDatabaseContext context)
 {
     _context = context;
 }
 public AnalyticsController(SolarEnergySystemDatabaseContext context)
 {
     _context = context;
 }
Beispiel #8
0
 public PanelRepository(SolarEnergySystemDatabaseContext dbContext)
     : base(dbContext)
 {
     context = dbContext;
 }
Beispiel #9
0
 public PanelsController(SolarEnergySystemDatabaseContext context, IPanelService panelService)
 {
     _context      = context;
     _panelService = panelService;
 }