Ejemplo n.º 1
0
 public LawController(LawRouteServiceFactory lawRouteServiceFactory, IDocumentIdRetriever documentIdRetriever) :
     base(DrugsAreaRegistration.Root, "Drugs" /*ToDo: Get Area name somehow instead of hardcode*/, lawRouteServiceFactory, documentIdRetriever)
 {
     /* ToDo: It should be in constructor... */
     BaseNavigationItems = GetDrugsNavigationItems;
     RootActionResult = MVC.Drugs.Law.Index();
 }
Ejemplo n.º 2
0
 public LawController(string root, string areaName, LawRouteServiceFactory lawRouteServiceFactory, IDocumentIdRetriever documentIdRetriever)
 {
     _lawRouteService = lawRouteServiceFactory.GetLawRouteService(root, areaName);
     _documentIdRetriever = documentIdRetriever;
 }