public ViewResult Update(int sisterid) { SisterMaster obj = new SisterMaster(); if (sisterid > 0) { obj.CMD = "Update"; //obj = obj.GetSingleSister(sisterid); obj = obj.GetSingleSister(sisterid, Convert.ToInt32(Session["hospital"].ToString())); } return(View("Registration", obj)); }