public ActionResult Index(string Email)
        {
            var repository = GetRepository<Match>();

            if (!string.IsNullOrEmpty(Email) & Email.IsValidEmailAddress())
            {
                var rep = GetRepository<ContactList>();
                var NewContact = new ContactList();
                NewContact.Created = SystemDate.Current();
                NewContact.Email = Email;
                rep.Add(NewContact);

                var model = new BPLModelView()
                {
                    MatchResults = repository.Query().GetRecentResultsWithProspects(10).Select(x => new ResultSummary(x)).ToArray(),
                    NextMatches = repository.Query().GetNextMatchesWithAProspect(10)
                };

                ViewData["Thanks"] = "True";
                return View(model);

            }
            else
            {
                return Redirect("/");
            }
        }
 public ActionResult Index()
 {
     var repository = GetRepository<Match>();
     var model = new BPLModelView()
     {
         MatchResults = repository.Query().GetRecentResultsWithProspects(10).Select(x => new ResultSummary(x)).ToArray(),
         NextMatches = repository.Query().GetNextMatchesWithAProspect(10)
     };
     ViewData["Thanks"] = "";
     return View(model);
 }