public int GetAccountId(string username) { using (DelightServiceClient service = new DelightServiceClient()) { var accountId = service.GetAccountId(username); return accountId; } }