Пример #1
0
 public async Task <int> AddClient(string password)
 {
     try
     {
         return(await _adminManager.AddClient(password));
     }
     catch (Exception ex)
     {
         Logger.Error("Error in AddClient method", ex);
         WebFaultThrower.Throw(ex.Message, HttpStatusCode.InternalServerError);
         throw;
     }
 }