public ActionResult List(int length, int start, string search)
        {
            ProductGroupService     svrProductGroup = (new ProductGroupService());
            List <tbl_ProductGroup> data            = svrProductGroup.getAll(new PagingModel()
            {
                offset = start, limit = length, search = search
            });
            int recordsTotal = (int)svrProductGroup.countAll(new PagingModel()
            {
                offset = start, limit = length, search = search
            });
            int recordsFiltered = recordsTotal;
            int draw            = 1;

            try { draw = int.Parse(Request.Params["draw"]); }catch { }
            return(Json(new
            {
                draw,
                recordsTotal,
                recordsFiltered,
                data
            }, JsonRequestBehavior.AllowGet));
        }