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