/Code/Source/Teaching.Threading.Web/Controllers/Mvc4TplController.cs

https://bitbucket.org/BernhardGlueck/teaching · C# · 20 lines · 18 code · 2 blank · 0 comment · 0 complexity · d43c0ad656c88ef552f036c0f24d8a59 MD5 · raw file

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Net.Http;
  5. using System.Threading.Tasks;
  6. using System.Web.Http;
  7. using System.Web.Mvc;
  8. namespace Teaching.Threading.Web.Controllers
  9. {
  10. public class Mvc4TplController : AsyncController
  11. {
  12. public async Task<ActionResult> Index()
  13. {
  14. await Task.Delay(5000);
  15. return View();
  16. }
  17. }
  18. }