public ActionResult AssignCheck(int id)
        {
            OCRModel ocrModel = new OCRModel();

            try
            {
                ocrModel             = Mapper.Map <OCRModel>(_ocr.GetOCRDetailById(id));
                ocrModel.OcrFilePath = Path.Combine(ConfigurationManager.AppSettings[GlobalConst.ConstantChar.StoragePath].ToString(), GlobalConst.ConstantChar.OCRUploads, ocrModel.OcrFileName);
            }
            catch (Exception ex)
            {
                _arCommonService.CreateErrorLog(ex.Message, ex.StackTrace);
            }
            return(View(ocrModel));
        }
Beispiel #2
0
        public void Get_OCRDetailById()
        {
            var getAllOCRRecords = _IOCRImplBL.GetOCRDetailById(1);

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