Beispiel #1
0
        public ContestDto GetShowContests(int id, [FromBody] ContestDto contest)
        {
            var showId     = id;
            var newContest = contest.ConvertFromDto();

            ContestService.AddShowContest(showId, newContest);
            return(newContest.ConvertToDto());
        }