public ActionResult Login(sonal sonu) { if (!ModelState.IsValid) { return(View("Login", sonu)); } sun.Add(sonu); return(RedirectToAction("Index")); }
public ActionResult Record(sonal sun) { return(View(sun)); }