public MaterialsController( MaterialsAuthorization materialsAuthorization, ICategoriesCache categoriesCache, IMaterialsManager materialsManager, IMaterialsPresenter materialsPresenter, IServiceProvider serviceProvider) : base(serviceProvider) { this.materialsAuthorization = materialsAuthorization; this.categoriesCache = categoriesCache; this.materialsManager = materialsManager; this.materialsPresenter = materialsPresenter; }
public MaterialsController( MaterialsAuthorization materialsAuthorization, ICategoriesCache categoriesCache, IMaterialsManager materialsManager, IMaterialsPresenter materialsPresenter, IMaterialsVisitsCounterCache materialsVisitsCounterCache, ISectionsCache sectionsCache, IServiceProvider serviceProvider, OperationKeysContainer operationKeysContainer, IAuthorizationService authorizationService) : base(serviceProvider) { this.materialsAuthorization = materialsAuthorization; this.categoriesCache = categoriesCache; this.materialsManager = materialsManager; this.materialsPresenter = materialsPresenter; this.materialsVisitsCounterCache = materialsVisitsCounterCache; this.sectionsCache = sectionsCache; this.serviceProvider = serviceProvider; this.operationKeysContainer = operationKeysContainer; this.authorizationService = authorizationService; }