Exemple #1
0
 public ActionResult GetFileAllData()
 {
     try
     {
         LienTempViewModel objLienTempTable = new LienTempViewModel();
         var getFileAllData = _lienTempTable.GetAllLienTempData(GlobalConst.Records.Skip, GlobalConst.Records.LandingTake);
         objLienTempTable.FileUploadViewModelResults = Mapper.Map <IEnumerable <LienTempTable> >(getFileAllData.LienTempTableDetails);
         objLienTempTable.FileCount = getFileAllData.TotalCount;
         return(View(GlobalConst.Views.ExportExcelToDatabase.ImportExcel, objLienTempTable));
     }
     catch (Exception ex)
     {
         _arCommonService.CreateErrorLog(ex.Message, ex.StackTrace);
         return(View(GlobalConst.Views.ExportExcelToDatabase.ImportExcel));
     }
 }
Exemple #2
0
        public void Get_AllLienTempData()
        {
            var getAllOCRRecords = _ILienTempBL.GetAllLienTempData(1, 10);

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