/// <summary> /// 最近竞赛信息 /// </summary> /// <returns>最近竞赛信息Json</returns> public async Task <ActionResult> RecentInfo() { String content = await RecentContestManager.GetAllRecentContestsJsonAsync(); return(Content(content, "application/json")); }
/// <summary> /// 注册全部定时任务 /// </summary> public static void RegisterAllScheduleTasks() { RecentContestManager.ScheduleGetAllRecentContestsJsonFromWeb(); }