Пример #1
0
        public ActionResult FileAssignedPaymentGrid()
        {
            OCRFileAssignedViewModel objModel = new OCRFileAssignedViewModel();

            try
            {
                objModel.OCRPaymentDetailsResult = Mapper.Map <IEnumerable <OCRPaymentDetails> >(_ocr.GetOCRPaymentFilesRecords(GlobalConst.ConstantChar.Percentage, GlobalConst.Records.Skip, GlobalConst.Records.Take));
                objModel.OCRFileAssignedCount    = _ocr.GetOCRPaymentFilesRecordsCount(GlobalConst.ConstantChar.Percentage);
            }
            catch (Exception ex)
            {
                _arCommonService.CreateErrorLog(ex.Message, ex.StackTrace);
            }
            return(Json(objModel, GlobalConst.ContentTypes.TextHtml));
        }
Пример #2
0
        public void Get_OCRPaymentFilesRecords()
        {
            var getAllOCRRecords = _IOCRImplBL.GetOCRPaymentFilesRecords("%", 0, 10);

            Assert.IsTrue(getAllOCRRecords != null, "Unable to find");
        }