public GetByIdBrochureViewModel GetById(int id) { Brochure brochure = _brochureRepository.FindById(id); return(Mapper.Map <Brochure, GetByIdBrochureViewModel>(brochure)); }