Exemplo n.º 1
0
 public QuizService(IQuizDTOMapper quizDTOMapper,
                    IApplicationUserDTOMapper userFactory,
                    IQuizEntityMapper quizEntityFactory)
 {
     this.quizDTOMapper    = quizDTOMapper;
     this.quizEntityMapper = quizEntityFactory;
     this.userFactory      = userFactory;
 }
Exemplo n.º 2
0
 public QuizesController(IQuizService quizService,
                         IUserService userService,
                         IPagingInfoService pagingInfoService,
                         IApplicationUserDTOMapper userMapper,
                         IQuizDTOMapperFromViewModel quizDTOMapperFromViewModel)
 {
     this.quizService                = quizService;
     this.userService                = userService;;
     this.userMapper                 = userMapper;
     this.pagingInfoService          = pagingInfoService;
     this.quizDTOMapperFromViewModel = quizDTOMapperFromViewModel;
 }
Exemplo n.º 3
0
 public QuizDTOMapper(IQuizRepository quizRepository,
                      IApplicationUserRepository applicationUserRepository,
                      IApplicationUserDTOMapper userDTOMapper,
                      IQuizEntityMapper quizEntityMapper,
                      IJSONRepository jsonRepository)
 {
     this.quizRepository            = quizRepository;
     this.applicationUserRepository = applicationUserRepository;
     this.userDTOMapper             = userDTOMapper;
     this.quizEntityMapper          = quizEntityMapper;
     this.jsonRepository            = jsonRepository;
 }
Exemplo n.º 4
0
 public UserService(IApplicationUserDTOMapper applicationUserDTOMapper)
 {
     this.applicationUserDTOMapper = applicationUserDTOMapper;
 }