Exemplo n.º 1
0
 /// <summary>
 /// Deletes an Actor from the system
 /// </summary>
 /// <param name="id">The identity of the Actor to remove</param>
 /// <param name="cancellationToken"></param>
 public async Task DeleteUserAsync(string id, CancellationToken cancellationToken = default(CancellationToken))
 {
     if (!string.IsNullOrEmpty(id))
     {
         await repository.DeleteUserAsync(id, cancellationToken);
     }
     else
     {
         throw new ArgumentNullException(nameof(id), "The Identity value must be provided");
     }
 }