Ejemplo n.º 1
0
 public AdminBaseController(IServiceProvider serviceProvider)
 {
     this.serviceProvider = serviceProvider;
     languageProvider     = (ILanguageProviderService)serviceProvider.GetService(typeof(ILanguageProviderService));
     languageAdminService = (ILanguageAdminService)serviceProvider.GetService(typeof(ILanguageAdminService));
     recordStatusHelper   = (IRecordStatusHelper)serviceProvider.GetService(typeof(IRecordStatusHelper));
     adminMenuProvider    = (IAdminMenuProvider)serviceProvider.GetService(typeof(IAdminMenuProvider));
 }
Ejemplo n.º 2
0
 public LanguageController(IServiceProvider serviceProvider, ILanguageAdminService languageAdminService) : base(serviceProvider)
 {
     this.languageAdminService = languageAdminService;
 }
Ejemplo n.º 3
0
 public AdminBaseController(IServiceProvider serviceProvider)
 {
     this.serviceProvider = serviceProvider;
     languageProvider     = (ILanguageProviderService)serviceProvider.GetService(typeof(ILanguageProviderService));
     languageAdminService = (ILanguageAdminService)serviceProvider.GetService(typeof(ILanguageAdminService));
 }