Exemple #1
0
 public CarRepository(AmidDbContext context)
 {
     _context = context;
 }
Exemple #2
0
 public HomeController(ILogger <HomeController> logger, AmidDbContext context, ICarRepository carRepository)
 {
     _logger        = logger;
     _dbcontext     = context;
     _carRepository = carRepository;
 }