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