public CatalogController(IAllAdvertisement cars, IWebHostEnvironment environment,
                          UserManager <IdentityUser> userManager)
 {
     _adverts     = cars;
     _environment = environment;
     _userManager = userManager;
 }
Beispiel #2
0
 public HomeController(IAllAdvertisement cars)
 {
     _cars = cars;
 }