Method Create
Create(CancellationToken)
Creates a new instance of the entity of type T
.
public Task<T> Create(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<T>
A task that represents the asynchronous operation. The task result contains the newly created entity instance.