Exemplo n.º 1
0
 public FavouritesController(
     IFavouritesRepository favouritesRepository,
     UserManager <IdentityUser> userManager,
     IFavouritesItemRepository favouritesItemRepository,
     IAdvertisementRepository advertisementRepository)
 {
     _favouritesRepository     = favouritesRepository;
     _userManager              = userManager;
     _favouritesItemRepository = favouritesItemRepository;
     _advertisementRepository  = advertisementRepository;
 }
Exemplo n.º 2
0
 public UFLocationsController(IFavouritesRepository favouritesRepository, AppSettings appSettings)
 {
     _favouritesRepository = favouritesRepository;
     _appSettings          = appSettings;
 }