예제 #1
0
        public GetByIdBrochureViewModel GetById(int id)
        {
            Brochure brochure = _brochureRepository.FindById(id);

            return(Mapper.Map <Brochure, GetByIdBrochureViewModel>(brochure));
        }