public ActionResult SearchJob(string SearchJob) { dynamic listTicPO = new ExpandoObject(); dynamic listTicPOn = new ExpandoObject(); QueryCRUD qr = new QueryCRUD(); List <T_Po> listTic = qr.SearchT_PoJOB(SearchJob); listTicPO.T_Po = listTic; listTicPO.T_Job = qr.listjob(); if (SearchJob == "") { TempData["SearchJob"] = ""; listTicPOn.T_Po = qr.GetT_Po(); listTicPOn.T_Job = qr.listjob(); return(View("ShowPo", listTicPOn)); } return(View("ShowPo", listTicPO)); }