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