public ActionResult GetInternalNote(int id, string subID) { var notes = Repair.GetInternalNotes(UserID, Employee.ID, id); notes.ID = subID; notes.RemoveUrl = "RemoveInternalNote"; return(Json(new { html = RenderPartialViewToString("RepairNotes", notes) }, JsonRequestBehavior.AllowGet)); }