예제 #1
0
        public IHttpActionResult ContestList()
        {
            // returns a list of all contests

            var all_contests = contest_repository.GetAllContestsList();

            return(Ok(ContestListItem.MapTo(all_contests)));
        }