예제 #1
0
 public StudentsController(ICountryIdentifierRepository repo)
 {
     _repo = repo;
 }
예제 #2
0
 public StudentsController(StudentContext context)
 {
     _context = context;
     _repo    = new CountryIdentifiersRepository(_context);
 }