Ejemplo n.º 1
0
 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();
 }