public AccountController(
     RecipeReviewsContext context,
     IHostingEnvironment hostingEnv,
     UserAuthenticationService authService,
     FileUploadService uploadService)
 {
     _accountService    = new AccountService(context);
     _hostingEnv        = hostingEnv;
     _authService       = authService;
     _fileUploadService = uploadService;
 }
 public RecipeService(RecipeReviewsContext context) : base(context)
 {
 }
 public RecipesController(RecipeReviewsContext context, IHostingEnvironment hostingEnv, FileUploadService uploadService)
 {
     _recipeService     = new RecipeService(context);
     _hostingEnv        = hostingEnv;
     _fileUploadService = uploadService;
 }
 public AccountService(RecipeReviewsContext context) : base(context)
 {
 }
Exemple #5
0
 public DataAccessService(RecipeReviewsContext context)
 {
     _context = context;
 }
Exemple #6
0
 public TagService(RecipeReviewsContext context)
 {
     _context = context;
 }