HomeController.cs 689 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Mvc;
  6. namespace EMISOnline.Web.Controllers
  7. {
  8. [Authorization]
  9. public class HomeController : Controller
  10. {
  11. public ActionResult Index()
  12. {
  13. return View();
  14. }
  15. public ActionResult About()
  16. {
  17. ViewBag.Message = "你的应用程序说明页。";
  18. return View();
  19. }
  20. public ActionResult Contact()
  21. {
  22. ViewBag.Message = "你的联系方式页。";
  23. return View();
  24. }
  25. public ActionResult Main()
  26. {
  27. return View();
  28. }
  29. }
  30. }