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);
        }
예제 #2
0
        public GetConferenceTalksResponse GetConferenceTalks()
        {
            var conferenceTalksRepository = new ConferenceTalksRepository();
            var getConferenceTalks        = new GetConferenceTalks(conferenceTalksRepository);
            var conferenceTalks           = getConferenceTalks.Execute();

            return(new GetConferenceTalksResponse
            {
                ConferenceTalks = conferenceTalks
            });
        }