private IEnumerable<Purchase> FindPurchasesForUser(IMyMentorRepository repository) { var loggedInUser = Session.GetLoggedInUser(); string issuedFor = loggedInUser.ObjectId; return repository.FindUserPurchasesForCheckout(issuedFor).ToArray(); }