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