DMAManageAreaRegistration.cs 681 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Mvc;
  6. namespace LeaRun.Application.Web.Areas.DMAManage
  7. {
  8. public class DMAManageAreaRegistration : AreaRegistration
  9. {
  10. public override string AreaName
  11. {
  12. get
  13. {
  14. return "DMAManage";
  15. }
  16. }
  17. public override void RegisterArea(AreaRegistrationContext context)
  18. {
  19. context.MapRoute(
  20. "DMAManage_default",
  21. "DMAManage/{controller}/{action}/{id}",
  22. new { action = "Index", id = UrlParameter.Optional }
  23. );
  24. }
  25. }
  26. }