public PetsController(IPetsService petsService, IBreedsService breedsService, IWebHostEnvironment environment, UserManager <ApplicationUser> userManager) { this.petsService = petsService; this.breedsService = breedsService; this.userManager = userManager; this.environment = environment; }
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; }
public BreedsController(IBreedsService breedService) { _breedService = breedService; }