public HeritageController(IUserRepository repository, IHostingEnvironment env, IHeritageRepository heritageRep, IConfiguration config, UserManager <AppUser> userMgr) { userRepository = repository; _environment = env; heritageRepository = heritageRep; _config = config; _userManager = userMgr; }
public HomeController(UserManager <AppUser> userMgr, IVideoRepository videoRep, IHostingEnvironment env_, IHeritageRepository heritageRepository_, RoleManager <IdentityRole> roleManager, IConfiguration configuration) { userManager = userMgr; videoRepository = videoRep; env = env_; heritageRepository = heritageRepository_; _userManager = userMgr; // _roleManager = roleManager; // Configuration = configuration; // }
public HeritageApiController(IHeritageRepository hereRep, IHostingEnvironment env, IConfiguration config) { heritageRepository = hereRep; _environment = env; _config = config; }
public HeritageHandler(IHeritageRepository repository) { _repository = repository; }
public HeritagesController(IHeritageRepository repository) { _repository = repository; _handler = new HeritageHandler(_repository); }