示例#1
0
 public CarsController(ICarContex context)
 {
     _context = context;
 }
示例#2
0
 //Constructors
 public CarsController()
 {
     _context = new ApplicationDbContext();
 }