示例#1
0
 public MCQController(IMCQService mcqService, IUserService userService, UserManager <IdentityUser> userManager,
                      IHostingEnvironment env)
 {
     _mcqService  = mcqService;
     _userService = userService;
     _userManager = userManager;
     _env         = env;
 }
示例#2
0
 public AdminManagementController(IMCQService mcqService, IQuestionService questionService, IUserService userService,
                                  UserManager <IdentityUser> userManager, IMapper mapper)
 {
     _mcqService      = mcqService;
     _questionService = questionService;
     _userService     = userService;
     _userManager     = userManager;
     _mapper          = mapper;
 }