Exemple #1
0
        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);
        }
Exemple #2
0
 public ActionResult GetDocketSeleced(DocketPrintBulkModel model)
 {
     return(Ok(_docketPrintRepository.GetBulkDocket(model)));
 }