public ActionResult DisplayNextPrime(PrimeRequest p)
 {
     if (ModelState.IsValid)
     {
         var f = new FindNextPrime();
         var model = new NextPrimeResult();
         model.NextPrime = f.NextPrime(p.Number);
         return View(model);
     }
     return View("NextPrimeQuery",p);
 }
 public ActionResult NextPrimeQuery()
 {
     var model = new PrimeRequest();
     return View(model);
 }