private TAccount ChangeSubAccountStatus(string accountSid, AccountStatus status) { Account account = TwilioClient.ChangeSubAccountStatus(accountSid, status); if (account.RestException != null) { throw new Exception(account.RestException.Message); } return(Mapper.Map <TAccount>(account)); }