public ActionResult SearchNewTask(MISS01P003Model model) { var da = new MISS01P003DA(); SetStandardErrorLog(da.DTO); da.DTO.Execute.ExecuteType = MISS01P003ExecuteType.GetNewTask; if (Request.GetRequest("page").IsNullOrEmpty()) { model.IsDefaultSearch = true; TempSearch = model; } da.DTO.Model = TempSearch; da.DTO.Model.COM_CODE = model.APP_CODE; da.DTO.Model.CRET_BY = SessionHelper.SYS_USER_ID; da.SelectNoEF(da.DTO); return(JsonAllowGet(da.DTO.Models, da.DTO.Result)); }
public ActionResult SolutionResult(MISS01P003Model model) { SetDefaulButton(StandardButtonMode.Other); SetDefaultData(); AddButton(StandButtonType.ButtonComfirmAjax, "btnSAVESOLUTIONRESULT", Translation.CenterLang.Center.Save, iconCssClass: FaIcons.FaSave, url: Url.Action("SaveSolutionResult"), isValidate: true); #region set default var view = string.Empty; view = "SolutionResult"; var da = new MISS01P003DA(); da.DTO.Execute.ExecuteType = MISS01P003ExecuteType.SolutionResult; da.DTO.Model.COM_CODE = model.COM_CODE; da.DTO.Model.ISE_NO = model.ISE_NO; da.DTO.Model.SOLUTION = model.SOLUTION; da.SelectNoEF(da.DTO); localModel = da.DTO.Model; #endregion return(View(view, localModel)); }