public ActionResult Search(SEC001P001Model model)
        {
            var da = new SEC001P001DA();

            SetStandardErrorLog(da.DTO);
            da.DTO.Execute.ExecuteType = SEC000P001ExecuteType.GetAll;
            if (Request.GetRequest("page").IsNullOrEmpty())
            {
                model.IsDefaultSearch = true;
                TempSearch            = model;
            }
            da.DTO.Model = TempSearch;
            da.Select(da.DTO);
            return(JsonAllowGet(da.DTO.Models, da.DTO.Result));
        }
        public ActionResult Edit(string TBL_NAME)
        {
            SetDefaulButton(StandardButtonMode.Modify);

            var da = new SEC001P001DA();

            SetStandardErrorLog(da.DTO);
            da.DTO.Execute.ExecuteType = SEC001P001ExecuteType.GetByID;
            TempModel.TBL_NAME         = da.DTO.Model.TBL_NAME = TBL_NAME.ToString();
            da.Select(da.DTO);
            if (da.DTO.Model != null)
            {
                localModel = da.DTO.Model;
            }

            SetDefaultData();
            return(View(StandardActionName.Edit, localModel));
        }