Ejemplo n.º 1
0
 /// <summary>
 /// Returns a single activity
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public Task <Activity> GetActivity(string id)
 {
     if (string.IsNullOrWhiteSpace(id))
     {
         throw new ArgumentNullException(nameof(id));
     }
     return(AuthClient.GetActivityAsync(id));
 }