Ejemplo n.º 1
0
        //
        // GET: /Tag/IndexAjax
        public ActionResult IndexAjax(JQueryDataTableRequest request)
        {
            JQueryDataTableResponse response = _tagBLL.GetAll(request.sSearch, request.iSortCol_0, request.sSortDir_0
                                                              , request.iDisplayStart, request.iDisplayLength, request.sEcho);

            return(Json(response, JsonRequestBehavior.AllowGet));
        }
 //
 // GET: /Grammar/Create
 public ActionResult Create()
 {
     ViewBag.Tags = _tagBLL.GetAll();
     return(View());
 }