public CustomersController(BikeRentalDbContext context) { _context = context; }
public Repository(BikeRentalDbContext context) { _context = context; _entities = _context.Set <T>(); }
public RentalsController(BikeRentalDbContext context, ICostCalculator calculator) { _context = context; _calculator = calculator; }
public BikesController(BikeRentalDbContext context) { _context = context; }
public RentalsController(BikeRentalDbContext context, ICalculation calculation) { _context = context; this.calculation = calculation; }