示例#1
0
        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));
        }
示例#2
0
        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));
            }
        }