public Response <List <DistBatchFlows> > GetDistBatchFlowList(int card_issue_method_id, int languageId, long auditUserId, string auditWorkstation) { try { return(new Response <List <DistBatchFlows> >(_cardManService.GetDistBatchFlowList(card_issue_method_id, languageId, auditUserId, auditWorkstation), ResponseType.SUCCESSFUL, "", "")); } catch (Exception ex) { log.Error(ex); return(new Response <List <DistBatchFlows> >(null, ResponseType.ERROR, "Error when processing request.", log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : "")); } }