public ActionResult GetAllPruebas(int ID)
        {
            var filter = new PagingInfo
            {
                page     = 1,
                start    = 1,
                limit    = 1,
                sort     = "ID_CORTE",
                dir      = "ASC",
                _dc      = 123123123123123,
                callback = "sdaasd",
                search   = null
            };
            var service  = new CortesService();
            var jsondata = service.GetAllCortes(filter, null);
            JavaScriptSerializer javaScriptSerializer = new JavaScriptSerializer();
            string callback1 = filter.callback + "(" + javaScriptSerializer.Serialize(jsondata) + ");";

            return(JavaScript(callback1));
        }
        public ActionResult GetAllCortes(int page, int start, int limit, string sort, string dir, long _dc, string callback, string condicion = null, string codigo = null)
        {
            var filter = new PagingInfo
            {
                page     = page,
                start    = start,
                limit    = limit,
                sort     = sort,
                dir      = dir,
                _dc      = _dc,
                callback = callback,
                search   = condicion
            };
            var service  = new CortesService();
            var jsondata = service.GetAllCortes(filter, codigo);
            JavaScriptSerializer javaScriptSerializer = new JavaScriptSerializer();
            string callback1 = callback + "(" + javaScriptSerializer.Serialize(jsondata) + ");";

            return(JavaScript(callback1));
        }