public IHttpActionResult ContestList(int from, int to) { // returns a list of most recent contests var all_contests = contest_repository.GetRecentContestsList(from, to); return(Ok(ContestListItem.MapTo(all_contests))); }