public RecipesController(
     IRecipesService recipesService,
     IRecipeLikesService recipeLikesService,
     IRecipeIngredientsService recipeIngredientsService,
     UserManager <ApplicationUser> userManager)
 {
     this.recipesService           = recipesService;
     this.recipeLikesService       = recipeLikesService;
     this.recipeIngredientsService = recipeIngredientsService;
     this.userManager = userManager;
 }
Esempio n. 2
0
 public RecipesController(
     IRecipesService recipesService,
     IUsersService usersService,
     IRecipeIngredientsService recipeIngredientsService,
     IRecipeLikesService recipeLikesService,
     IEmailSender emailSender,
     UserManager <ApplicationUser> userManager)
 {
     this.recipesService           = recipesService;
     this.usersService             = usersService;
     this.recipeIngredientsService = recipeIngredientsService;
     this.recipeLikesService       = recipeLikesService;
     this.emailSender = emailSender;
     this.userManager = userManager;
 }
 public RecipeLikesController(IRecipeLikesService recipeLikesService)
 {
     _recipeLikesService = recipeLikesService;
 }
 public RecipeLikesController(IRecipeLikesService recipeLikesService, UserManager <IdentityUser> userManager)
 {
     this.recipeLikesService = recipeLikesService;
     this.userManager        = userManager;
 }