public ReviewsController(IHomeReviewsService homeReviews, IHomeService homes, UserManager <User> userManager, IPictureService pictureService) { this.homeReviews = homeReviews; this.homes = homes; this.userManager = userManager; this.pictureService = pictureService; }
public HomesController(IHomeService homes, IUserService users, UserManager <User> userManager, IPictureService pictureService, IHomeReviewsService homeReviews) { this.homes = homes; this.users = users; this.userManager = userManager; this.pictureService = pictureService; this.homeReviews = homeReviews; }