Ejemplo n.º 1
0
 public APIController(NewsletterDBContext context)
 {
     _repository = new ApiRepository(context);
 }
Ejemplo n.º 2
0
 public PeopleController(NewsletterDBContext context)
 {
     _repository       = new PersonRepository(context);
     _repositoryTopics = new TopicRepository(context);
 }
Ejemplo n.º 3
0
 public TopicRepository(NewsletterDBContext context)
 {
     _context = context;
 }
Ejemplo n.º 4
0
 public TopicsController(NewsletterDBContext context)
 {
     _repository = new TopicRepository(context);
 }
Ejemplo n.º 5
0
 public ApiRepository(NewsletterDBContext context)
 {
     _context          = context;
     _personRepository = new PersonRepository(context);
     _topicRepository  = new TopicRepository(context);
 }
Ejemplo n.º 6
0
 public PersonRepository(NewsletterDBContext context)
 {
     _context = context;
 }