Пример #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_OCRPaymentFilesRecordsCount(string SearchText)
        {
            int Count = _IOCRImplBL.GetOCRPaymentFilesRecordsCount("%");

            Assert.IsTrue(Count < 0, "Unable to find");
        }