Exemplo n.º 1
0
 /// <summary>
 /// Creates a new Idfy account.
 /// </summary>
 /// <param name="accountCreateOptions"></param>
 /// <returns></returns>
 public async Task <Account> CreateAccountAsync(AccountCreateOptions accountCreateOptions)
 {
     return(await PostAsync <Account>($"{Urls.Admin}/account", accountCreateOptions));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new Idfy account.
 /// </summary>
 /// <param name="accountCreateOptions"></param>
 /// <returns></returns>
 public Account CreateAccount(AccountCreateOptions accountCreateOptions)
 {
     return(Post <Account>($"{Urls.Admin}/account", accountCreateOptions));
 }