public IEnumerable <SponsorshipModel> Get() { IEnumerable <Sponsorship> sponsorships = _sponsorshipRepository.GetAll(); return(Mappings.MapToSponsorshipModels(sponsorships, _mapper)); }
public IEnumerable <Sponsorship> GetAll() => _sponsorshipRepository.GetAll();