2using System.Collections.Generic;
4using System.Threading.Tasks;
Common base of entities with IDs.
For editing a given user.
Routes to a server actions.
static string SetID(string route, long id)
Apply an id postfix to a route .
const string User
The user controller.
static string ListRoute(string route)
Get the /List postfix for a route .
Client that deals with getting paginated results.
ValueTask< UserResponse > Update(UserUpdateRequest user, CancellationToken cancellationToken)
Update a user .A ValueTask<TResult> resulting in the updated UserResponse.
UsersClient(IApiClient apiClient)
Initializes a new instance of the UsersClient class.
ValueTask< UserResponse > Read(CancellationToken cancellationToken)
Read the current user's information and general rights.A ValueTask<TResult> resulting in the current ...
ValueTask< UserResponse > GetId(EntityId user, CancellationToken cancellationToken)
Get a specific user .A ValueTask<TResult> resulting in the requested user .
ValueTask< List< UserResponse > > List(PaginationSettings? paginationSettings, CancellationToken cancellationToken)
List all UserResponses.A ValueTask<TResult> resulting in a List<T> of all UserResponses.
ValueTask< UserResponse > Create(UserCreateRequest user, CancellationToken cancellationToken)
Create a new user .A ValueTask<TResult> resulting in the new UserResponse.
Web interface for the API.
For managing UserResponses.