public DessertsController( UserManager <ApplicationUser> userManager, IDessertsService dessertsService, IDessertLikesService dessertLikesService) { this.userManager = userManager; this.dessertsService = dessertsService; this.dessertLikesService = dessertLikesService; }
public ShopController( ICategoriesService categoriesService, IDessertsService dessertsService, IOrdersService ordersService, IDessertLikesService dessertLikesService, UserManager <ApplicationUser> userManager) { this.categoriesService = categoriesService; this.dessertsService = dessertsService; this.ordersService = ordersService; this.dessertLikesService = dessertLikesService; this.userManager = userManager; }