Exemplo n.º 1
0
        public ActionResult WarrantHistory(int id, string code)
        {
            var list = Warranty.GetHistory(UserID, id, code);

            return(Json(new
            {
                html = RenderPartialViewToString("WarrantHistory", list)
            }, JsonRequestBehavior.AllowGet));
        }