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; }
public ExperienceService(IGenericRepository <Experience> genericRepo, IExperienceRepo experienceRepo) { GenericRepo = genericRepo; ExperienceRepo = experienceRepo; }
public ExperienceDataDisplayViewComponent(IExperienceRepo experienceRepo) { _experienceRepo = experienceRepo; }
// private readonly IUserInfoRepo _userInfoRepo; // private readonly UserManager<ApplicationUser> _userManager; public ExperienceEditDisplayViewComponent(IExperienceRepo experienceRepo /*, IUserInfoRepo userInfoRepo, UserManager<ApplicationUser> userManager*/) { _experienceRepo = experienceRepo; // _userInfoRepo = userInfoRepo; // _userManager = userManager; }
public ExperienceController(IExperienceRepo repo, IMapper mapper) { _repo = repo; _mapper = mapper; }