public APIController(NewsletterDBContext context) { _repository = new ApiRepository(context); }
public PeopleController(NewsletterDBContext context) { _repository = new PersonRepository(context); _repositoryTopics = new TopicRepository(context); }
public TopicRepository(NewsletterDBContext context) { _context = context; }
public TopicsController(NewsletterDBContext context) { _repository = new TopicRepository(context); }
public ApiRepository(NewsletterDBContext context) { _context = context; _personRepository = new PersonRepository(context); _topicRepository = new TopicRepository(context); }
public PersonRepository(NewsletterDBContext context) { _context = context; }