public GetLastSavedShoppingListQueryHandler(RecipeBookReadOnlyDbContext context, ICurrentUserService currentUserService) : base(context) { _authorizedUserId = currentUserService.GetAuthorizedUserId(); }
public SaveShoppingListCommandHandler(RecipeBookDbContext context, ICurrentUserService currentUserService, ISaveShoppingListService saveShoppingListService) : base(context) { _saveShoppingListService = saveShoppingListService; _authorizedUserId = currentUserService.GetAuthorizedUserId(); }
public GetAuthorizedUserDataQueryHandler(RecipeBookReadOnlyDbContext context, ICurrentUserService currentUserService) : base(context) { _authorizedUserId = currentUserService.GetAuthorizedUserId(); }