public ActionResult updatestatusv(int id) { StudentFeesStatusservice studentFeesStatusservice = new StudentFeesStatusservice(); statustblsservice statustblsservice = new statustblsservice(); ViewBag.statuses = statustblsservice.getstatustbls().ToList(); var getstudentfees = studentFeesStatusservice.getbyid(id); return(View(getstudentfees)); }
public ActionResult updatestatus(int id) { StudentFeesStatusservice studentFeesStatusservice = new StudentFeesStatusservice(); statustblsservice statustblsservice = new statustblsservice(); ViewBag.statuses = statustblsservice.getstatustbls().ToList(); var getstudentfees = studentFeesStatusservice.getbyid(id); if (Request.IsAjaxRequest()) { return(PartialView(getstudentfees)); } else { return(PartialView(getstudentfees)); } }