示例#1
0
        public IEnumerable <SponsorshipModel> Get()
        {
            IEnumerable <Sponsorship> sponsorships = _sponsorshipRepository.GetAll();

            return(Mappings.MapToSponsorshipModels(sponsorships, _mapper));
        }
示例#2
0
 public IEnumerable <Sponsorship> GetAll() => _sponsorshipRepository.GetAll();