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; } }