public ActionResult Index()
        {
            var model = new SelectListModelUpload()
            {
                dtComputer      = _tblAccessPCService.GetAllActive().ToDataTableNullable(),
                dtCardGroup     = _tblCardGroupService.GetAllActive().ToDataTableNullable(),
                dtCustomerGroup = GetMenuList().ToDataTableNullable(),
                dtAccessLevel   = _tblAccessLevelService.GetAllActive().ToDataTableNullable()
            };

            ViewBag.GroupController = GetControllerGroupList();
            ViewBag.PageSize        = FunctionHelper.PageSize();
            return(View(model));
        }
        public HttpResponseMessage GetSelectList()
        {
            var model = new SelectListModelUpload()
            {
                dtComputer      = _tblAccessPCService.GetAllActive().ToDataTableNullable(),
                dtCardGroup     = _tblCardGroupService.GetAllActive().ToDataTableNullable(),
                dtCustomerGroup = GetMenuList().ToDataTableNullable(),
                dtAccessLevel   = _tblAccessLevelService.GetAllActive().ToDataTableNullable()
            };

            var content = new StringContent(JsonConvert.SerializeObject(model), Encoding.UTF8, "application/json");

            return(new HttpResponseMessage()
            {
                StatusCode = HttpStatusCode.OK, Content = content, RequestMessage = Request
            });
        }