public ActionResult UpdateSeen(RequestVM model) { IStructuredetailRepository obj = new StructuredetailRepository(); obj.updateseen(Convert.ToInt32(model.RequestId)); obj.Save(); return(Json(new { success = true }, JsonRequestBehavior.AllowGet)); }