Пример #1
0
 public RepliesController(IRepliesRepository repliesRepository, ITopicsRepository topicsRepository, IUsersRepository usersRepository, IMapper mapper)
 {
     _repliesRepository = repliesRepository;
     _topicsRepository  = topicsRepository;
     _usersRepository   = usersRepository;
     _mapper            = mapper;
 }
Пример #2
0
 public TopicsController(ITopicsRepository topicsRepository,
                         IMapper mapper,
                         IUsersRepository usersRepository,
                         ICategoriesRepository categoriesRepository,
                         IRepliesRepository repliesRepository)
 {
     _topicsRepository     = topicsRepository;
     _usersRepository      = usersRepository;
     _categoriesRepository = categoriesRepository;
     _repliesRepository    = repliesRepository;
     _mapper = mapper;
 }
Пример #3
0
 public RepliesService(IRepliesRepository repliesRepository)
 {
     _repliesRepository = repliesRepository;
 }