Beispiel #1
0
 public PetsController(IPetsService petsService, IBreedsService breedsService, IWebHostEnvironment environment, UserManager <ApplicationUser> userManager)
 {
     this.petsService   = petsService;
     this.breedsService = breedsService;
     this.userManager   = userManager;
     this.environment   = environment;
 }
Beispiel #2
0
 public PetsController(
     IBreedsService breedsService,
     IPetsService petsService,
     ICitiesService citiesService,
     UserManager <ApplicationUser> userManager,
     IWebHostEnvironment environment,
     Cloudinary cloudinary)
 {
     this.breedsService = breedsService;
     this.petsService   = petsService;
     this.citiesService = citiesService;
     this.userManager   = userManager;
     this.environment   = environment;
     this.cloudinary    = cloudinary;
 }
Beispiel #3
0
 public BreedsController(IBreedsService breedService)
 {
     _breedService = breedService;
 }