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