Exemple #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;
 }
Exemple #2
0
 public ExperienceService(IGenericRepository <Experience> genericRepo, IExperienceRepo experienceRepo)
 {
     GenericRepo    = genericRepo;
     ExperienceRepo = experienceRepo;
 }
Exemple #3
0
 public ExperienceDataDisplayViewComponent(IExperienceRepo experienceRepo)
 {
     _experienceRepo = experienceRepo;
 }
Exemple #4
0
        // 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;
 }