Example #1
0
 public PresidentsController(IPresidentRepository _presidentRepository)
 {
     presidentRepository = _presidentRepository;
 }
Example #2
0
 public PresidentController(IPresidentRepository _presidentRepository)
 {
     this.presidentRepository = _presidentRepository;
 }
Example #3
0
 public PresidentService(PresidentContext context)
 {
     _repository = new PresidentRepository(context);
 }
 public ValuesController(IPresidentRepository repository)
 {
     _repository = repository;
 }
Example #5
0
 public PresidentController(IPresidentRepository presidentRepository)
 {
     _presidentRepository = presidentRepository;
 }