Пример #1
0
 /// <summary>
 /// Register a new user with the account server.
 /// </summary>
 /// <param name="registration">The new user's info.</param>
 /// <returns>True if no errors.</returns>
 public Task <bool> RegisterAsync(UserRegistration registration)
 {
     throw new NotImplementedException();
 }
Пример #2
0
 /// <summary>
 /// Register a new user with the account server.
 /// </summary>
 /// <param name="registration">The new user's info.</param>
 /// <returns>True if no errors.</returns>
 public static async Task <bool> RegisterUserAsync(UserRegistration registration)
 {
     return(await UserService.RegisterAsync(registration));
 }