public ActionResult Create(Registration reg)
        {
            try
            {
                if (ModelState.IsValid)
                {
                    RegisterRepo.Register(reg);
                }
                else
                {
                    return View();
                }

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
 public void Register(Registration reg)
 {
     // Save new Registration to DB.
 }