public ActionResult UpdateSeenPromotion(PositionVM model) { IStructuredetailRepository obj = new StructuredetailRepository(); obj.updateseenPro(Convert.ToInt32(model.EmployeeId)); obj.Save(); return(Json(new { success = true }, JsonRequestBehavior.AllowGet)); }