public QuestionsController(IRepositoryFactory repositoryFactory )
 {
     questionRepository = repositoryFactory.GetQuestionRepository();
     userRepository = repositoryFactory.GetUserRepository();
     tagRepository = repositoryFactory.GetTagRepository();
     answerRepository = repositoryFactory.GetAnswerRepository();
     voteRepository = repositoryFactory.GetVoteRepository();
 }