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(); }
public CasinoController(IDocumentIdRetriever documentIdRetriever, IExemptionItemTypeLocalizator exemptionItemTypeLocalizator, ExemptionsService exemptionsService, IExemptionItemTypeDropDownListLocalizator exemptionItemTypeDropDownListLocalizator, YandexGeolocationService yandexGeolocationService) { _documentIdRetriever = documentIdRetriever; _exemptionItemTypeLocalizator = exemptionItemTypeLocalizator; _exemptionsService = exemptionsService; _exemptionItemTypeDropDownListLocalizator = exemptionItemTypeDropDownListLocalizator; _yandexGeolocationService = yandexGeolocationService; }
public LawController(string root, string areaName, LawRouteServiceFactory lawRouteServiceFactory, IDocumentIdRetriever documentIdRetriever) { _lawRouteService = lawRouteServiceFactory.GetLawRouteService(root, areaName); _documentIdRetriever = documentIdRetriever; }
public void SetUp() { _documentIdRetriever = new DocumentIdRetriever(); }
public UserController(IDocumentIdRetriever documentIdRetriever, IPasswordEncoder passwordEncoder) { _documentIdRetriever = documentIdRetriever; _passwordEncoder = passwordEncoder; }