Exemplo n.º 1
0
 public SearchRecipesController(
     IRecipersService recipersService,
     IIngredientsService ingredientsService)
 {
     this.recipersService    = recipersService;
     this.ingredientsService = ingredientsService;
 }
Exemplo n.º 2
0
 public HomeController(
     IApplicationInfoService infoService,
     UserManager <ApplicationUser> userManager,
     IRecipersService recipersService)
 {
     this.infoService     = infoService;
     this.userManager     = userManager;
     this.recipersService = recipersService;
 }
Exemplo n.º 3
0
 public RecipesSeeder(
     IRecipersService recipersService,
     UserManager <ApplicationUser> userManager,
     IngredientsService ingredientsService,
     IRepository <Ingredient> ingredientsRepository)
 {
     this.recipersService       = recipersService;
     this.userManager           = userManager;
     this.ingredientsService    = ingredientsService;
     this.ingredientsRepository = ingredientsRepository;
 }
Exemplo n.º 4
0
 public RecipeController(
     IRecipersService recipersService,
     ICategoriesService categoriesService,
     UserManager <ApplicationUser> userManager,
     IWebHostEnvironment environment)
 {
     this.recipersService   = recipersService;
     this.categoriesService = categoriesService;
     this.userManager       = userManager;
     this.environment       = environment;
 }