public ActionResult Search(SECS02P003Model model) { var da = new SECS02P003DA(); SetStandardErrorLog(da.DTO); da.DTO.Execute.ExecuteType = SECS02P003ExecuteType.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 Info(decimal?TITLE_ID) { SetDefaulButton(StandardButtonMode.View); var da = new SECS02P003DA(); SetStandardErrorLog(da.DTO); da.DTO.Execute.ExecuteType = SECS02P003ExecuteType.GetByID; TempModel.TITLE_ID = da.DTO.Model.TITLE_ID = TITLE_ID; da.Select(da.DTO); if (da.DTO.Model != null) { localModel = da.DTO.Model; } return(View(StandardActionName.Info, localModel)); }