Пример #1
0
 /// <summary>
 /// Instanciates a new instance of the <see cref="TrackController"></see>.
 /// </summary>
 /// <param name="dbContext">The database context</param>
 public TrackController(BikeDataDbContext dbContext) => this._dbContext = dbContext;
Пример #2
0
 public Worker(BikeDataDbContext bikeDataDb, StatisticsDbContext dbContext, ILogger <Worker> logger)
 {
     _bikeDataDb = bikeDataDb;
     _db         = dbContext;
     _logger     = logger;
 }