Ejemplo n.º 1
0
 public ResultsController(IMappingProvider mapper,
                          IUserTestsService userTestsService,
                          IUserTestAnswersService utaService,
                          ITestService testService)
 {
     this.mapper           = mapper;
     this.userTestsService = userTestsService;
     this.utaService       = utaService;
     this.testService      = testService;
 }
Ejemplo n.º 2
0
 public EditTestController(IMappingProvider mapper, ICreateTestService createTestService
                           , UserManager <User> userManager, IUserService userService
                           , IUserTestsService userTestsService
                           , ITestService testService, ICategoriesService categories
                           , IUserTestAnswersService utaService
                           )
 {
     this.mapper            = mapper;
     this.createTestService = createTestService;
     this.userManager       = userManager;
     this.userService       = userService;
     this.userTestsService  = userTestsService;
     this.testService       = testService;
     this.categories        = categories;
     this.utaService        = utaService;
 }
Ejemplo n.º 3
0
 public UserTestsService(IMappingProvider mapper,
                         IDateTimeProvider dateTime,
                         ITestService testService,
                         ICategoriesService categoriesService,
                         IUserTestAnswersService utaService,
                         IRepository <UserTests> userTests,
                         IGenericShuffler shuffler,
                         ISaver saver)
 {
     this.mapper            = mapper;
     this.dateTime          = dateTime;
     this.testService       = testService;
     this.categoriesService = categoriesService;
     this.utaService        = utaService;
     this.userTests         = userTests;
     this.shuffler          = shuffler;
     this.saver             = saver;
 }