public void AddConferenceTalk(AddConferenceTalkRequest request) { var conferenceTalksRepository = new ConferenceTalksRepository(); var addConferenceTalk = new AddConferenceTalk(conferenceTalksRepository); addConferenceTalk.Execute(request.ConferenceTitle, request.ConferenceCity, request.ConferenceUrl, request.TalkTitle, request.TalkUrl, request.VideoUrl, request.TalkDate); }
public GetConferenceTalksResponse GetConferenceTalks() { var conferenceTalksRepository = new ConferenceTalksRepository(); var getConferenceTalks = new GetConferenceTalks(conferenceTalksRepository); var conferenceTalks = getConferenceTalks.Execute(); return(new GetConferenceTalksResponse { ConferenceTalks = conferenceTalks }); }