public ActionResult Personal(PersonalDetail objPersonalDetail) { GetDropDownPersonal(objPersonalDetail); if (!ModelState.IsValid) { return(View(objPersonalDetail)); } objPersonalDetail.AddEditPersonal(objPersonalDetail, clsCommon.Update); return(View(objPersonalDetail)); }