/// <summary> Сервис сохранение новостей </summary> public NewsModelSaver( IGraphLabsPrincipal currentUser, IOperationContextFactory <IGraphLabsContext> operationContextFactory) { _currentUser = currentUser; _operationContextFactory = operationContextFactory; }
/// <summary> Модель списка демонстрационных лабораторных работ </summary> protected AvailableLabListModel(IEntityQuery query, IEntityBasedModelLoader <TAvalilableLab, AbstractLabSchedule> modelLoader, ISystemDateService dateService, IGraphLabsPrincipal currentUser) { _query = query; _modelLoader = modelLoader; _dateService = dateService; _currentUser = currentUser; }
/// <summary> Модель списка демонстрационных лабораторных работ </summary> public DemoLabListModel(IEntityQuery query, IEntityBasedModelLoader <DemoLabModel, AbstractLabSchedule> modelLoader, ISystemDateService dateService, IGraphLabsPrincipal currentUser) : base(query, modelLoader, dateService, currentUser) { }
/// <summary> Загрузчик моделей групп </summary> public NewsModelLoader(IEntityQuery query, IGraphLabsPrincipal currentUser) : base(query) { _currentUser = currentUser; }