Example #1
0
        public ContributorViewModel GetContributorByID(int id)
        {
            var dbRow  = _contributorRepository.GetContributorByID(id);
            var result = _mapper.Map <ContributorViewModel>(dbRow);

            return(result);
        }
 public Contributor GetContributorByID(int ID)
 {
     return(contributorRepository.GetContributorByID(ID));
 }