public List <DocketPrintResultModel> GetBulkDocket(DocketPrintBulkModel model) { List <DocketPrintResultModel> listResult = new List <DocketPrintResultModel>(); foreach (var requestModel in model.RequestNos) { try { var result = GetDocket(requestModel); listResult.Add((DocketPrintResultModel)result); } catch (ServiceException) { continue; } } return(listResult); }
public ActionResult GetDocketSeleced(DocketPrintBulkModel model) { return(Ok(_docketPrintRepository.GetBulkDocket(model))); }