Strongly Typed RedirectToAction (Futures) using async Controllers
问题 having this code it gives me a warning : Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. public async Task<ActionResult> Details(Guid id) { var calendarEvent = await service.FindByIdAsync(id); if (calendarEvent == null) return RedirectToAction<CalendarController>(c => c.Index()); var model = new CalendarEventPresentation(calendarEvent); ViewData.Model = model; return