Beispiel #1
0
        public List <LiteraryGenreContract> GetLiteraryGenreList()
        {
            var result = m_catalogValueRepository.InvokeUnitOfWork(x => x.GetLiteraryGenreList());

            return(m_mapper.Map <List <LiteraryGenreContract> >(result));
        }
Beispiel #2
0
        public TermContract GetTerm(int termId)
        {
            var term = m_catalogValueRepository.InvokeUnitOfWork(x => x.FindById <Term>(termId));

            return(m_mapper.Map <TermContract>(term));
        }