public CampaignPresenter(CampaignRepository repository, IPresentationMapper mapper) { if (repository == null) { throw new ArgumentNullException("repository"); } if (mapper == null) { throw new ArgumentNullException("mapper"); } this.repository = repository; this.mapper = mapper; }
public CampaignPresenter(CampaignRepository repository, IPresentationMapper mapper) { if (repository == null) { throw new ArgumentNullException("repository"); } if (mapper == null) { throw new ArgumentNullException("mapper"); } this.repository = repository; this.mapper = mapper; }
public CodeCampDataService(ISponsorMapper sponsorMapper, IPresentationMapper presentationMapper, IAnnouncementMapper announcementMapper) { this.SponsorMapper = sponsorMapper; this.PresentationMapper = presentationMapper; this.AnnouncementMapper = announcementMapper; }