Example #1
0
 public TranslateMenuItemsPartHandler(
     IRepository <TranslateMenuItemsPartRecord> repository,
     Services.ITranslateMenuItemsServices translateMenuItemsService)
 {
     Filters.Add(StorageFilter.For(repository));
     _translateMenuItemsService = translateMenuItemsService;
 }
Example #2
0
 public TranslateMenuItemsPartDriver(IOrchardServices orchardServices,
                                     ILocalizationService localizationService,
                                     ISessionLocator sessionLocator,
                                     Services.ITranslateMenuItemsServices translateMenuItemsService)
 {
     _orchardServices           = orchardServices;
     _translateMenuItemsService = translateMenuItemsService;
     _localizationService       = localizationService;
     _sessionLocator            = sessionLocator;
 }