예제 #1
0
        public void ScannedPageEntityToModelMappingIsNotNullTest()
        {
            var result = _scannedPageMapper.Map(_scannedPage);

            Assert.IsNotNull(result);
        }
예제 #2
0
        /// <summary>
        /// Gets ScannedPages by Id
        /// </summary>
        /// <returns>The ScannedPageBusinessModel list</returns>
        public ScannedPageBusinessModel GetScannedPageById(int Id)
        {
            var scannedPages = this.uow.ScannedPages.GetById(Id);

            return(_scannedPageMapper.Map(scannedPages));
        }