예제 #1
0
        public ActionResult GetMechanicNote(int id, string subID)
        {
            var notes = Repair.GetMechanicNotes(UserID, Employee.ID, id);

            notes.ID        = subID;
            notes.RemoveUrl = "RemoveMechanicNote";
            return(Json(new
            {
                html = RenderPartialViewToString("RepairNotes", notes)
            }, JsonRequestBehavior.AllowGet));
        }