public WishlistService(ApplicationDbContext context, IParkService parkService, IHikerService hikerService, IUserService userService) { _context = context; _parkService = parkService; _hikerService = hikerService; _userService = userService; }
public HikerController(IUserService userService, IHikerService hikerService, IWishlistService wishlistService, IStateService stateService, SignInManager <IdentityUser> signInManager) { _userService = userService; _hikerService = hikerService; _wishlistService = wishlistService; _stateService = stateService; _signInManager = signInManager; }
public WishlistController(IWishlistService wishlistService, IHikerService hikerService) { _wishlistService = wishlistService; _hikerService = hikerService; }
// Need constructor with parameter to work in Core public HomeController(IHikerService hikerService) { _hikerService = hikerService; }