Esempio n. 1
0
 public async Task <string> AddAccount(string clientId)
 {
     try
     {
         var id = int.Parse(clientId);
         return(await _adminManager.AddAccount(id));
     }
     catch (Exception ex)
     {
         Logger.Error("Error in AddAccount method", ex);
         WebFaultThrower.Throw(ex.Message, HttpStatusCode.InternalServerError);
         throw;
     }
 }