public AirportsController(AirportsContext dbContext) { #region Preconditions if (null == dbContext) { throw new ArgumentNullException(nameof(dbContext)); } #endregion _dbContext = dbContext; }
public RepositoryBase(AirportsContext context) { Context = context; }
public AirportsRepository(AirportsContext context) : base(context) { }
public AirportsRepository() { context = new AirportsContext(); }