HomeController.cs 666 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Mvc;
  6. using TfRiskControlApi.Fliter;
  7. namespace TfRiskControlApi.Controllers
  8. {
  9. [RequiresAuthentication(IsNeedCheck = false)]
  10. public class HomeController : Controller
  11. {
  12. public ActionResult Index()
  13. {
  14. return View();
  15. }
  16. public ActionResult About()
  17. {
  18. ViewBag.Message = "Your application description page.";
  19. return View();
  20. }
  21. public ActionResult Contact()
  22. {
  23. ViewBag.Message = "Your contact page.";
  24. return View();
  25. }
  26. }
  27. }