public RecipeValidatorService(RecipeBookReadOnlyDbContext context)
 {
     _context = context;
 }
Beispiel #2
0
 public GetLastSavedShoppingListQueryHandler(RecipeBookReadOnlyDbContext context, ICurrentUserService currentUserService) : base(context)
 {
     _authorizedUserId = currentUserService.GetAuthorizedUserId();
 }
 public RecipeNameIsExistQueryHandler(RecipeBookReadOnlyDbContext context, IRecipeValidatorService recipeValidatorService) : base(context)
 {
     _recipeValidatorService = recipeValidatorService;
 }
Beispiel #4
0
 public GetRecipeByIdQueryHandler(RecipeBookReadOnlyDbContext context) : base(context)
 {
 }
Beispiel #5
0
 protected QueryBase(RecipeBookReadOnlyDbContext context)
 {
     Context = context;
 }
 public GetAuthorizedUserDataQueryHandler(RecipeBookReadOnlyDbContext context, ICurrentUserService currentUserService) : base(context)
 {
     _authorizedUserId = currentUserService.GetAuthorizedUserId();
 }