public IActionResult CaseLawUnitRefresh(int caseid, int caseSessionId) { if (service.CaseLawUnit_RefreshData(caseid, caseSessionId)) { SetSuccessMessage(MessageConstant.Values.SaveOK); } else { SetErrorMessage(MessageConstant.Values.SaveFailed); } return(RedirectToAction("Preview", "CaseSession", new { id = caseSessionId })); }