Beispiel #1
0
 public HomeController(UserManager <ApplicationUser> userManager, IUserInfoRepo userInfoRepo, IWebHostEnvironment webHostEnvironment,
                       IConfiguration config, IAchievementRepo achievementRepo, IExperienceRepo experienceRepo, ISkillRepo skillRepo)
 {
     _userManager        = userManager;
     _userInfoRepo       = userInfoRepo;
     _webHostEnvironment = webHostEnvironment;
     _config             = config;
     _achievementRepo    = achievementRepo;
     _experienceRepo     = experienceRepo;
     _skillRepo          = skillRepo;
 }
Beispiel #2
0
 public AccountController(UserManager <ApplicationUser> userManager,
                          SignInManager <ApplicationUser> signInManager, IMessageService messageService, IUserInfoRepo userInfoRepo,
                          IWebHostEnvironment env, IConfiguration config, IWebHostEnvironment webHostEnvironment, IAchievementRepo achievementRepo)
 {
     _userManager        = userManager;
     _signInManager      = signInManager;
     _messageService     = messageService;
     _userInfoRepo       = userInfoRepo;
     _env                = env;
     _config             = config;
     _webHostEnvironment = webHostEnvironment;
     _achievementRepo    = achievementRepo;
 }
 public AchievementService(IAchievementRepo achievementRepo, ICourseRepo courseRepo)
 {
     this.achievementRepo = achievementRepo;
     this.courseRepo      = courseRepo;
 }