//public HostEventController(HostEventsRepository eventsRepository, HostEventsHelper hostEventsHelper, UserManager<IdentityUser> userManager, GiftsRepository giftsRepository, GuestsRepository guestsRepository) public HostEventController(HostEventsRepository eventsRepository, RoleManager <IdentityRole> roleManager, UserManager <IdentityUser> userManager, GiftsRepository giftsRepository, GuestsRepository guestsRepository) { _hostEventsRepository = eventsRepository; //_hostEventsHelper = hostEventsHelper; _userManager = userManager; _giftsRepository = giftsRepository; _guestsRepository = guestsRepository; _roleManager = roleManager; }
public HostEventsHelper(AppDbContext appDbContext, HostEventsRepository hostEventsRepository) { _appDbContext = appDbContext; _hostEventsRepository = hostEventsRepository; }