protected ContentEntityController(
     BaseControllerContext <TEntity, TRepository> context,
     BioEntitiesManager entitiesManager, ContentBlocksRepository blocksRepository) : base(context)
 {
     _blocksRepository = blocksRepository;
     EntitiesManager   = entitiesManager;
 }
Ejemplo n.º 2
0
 protected ApiPostsController(
     BaseControllerContext <Post, PostsRepository> context,
     BioEntitiesManager entitiesManager,
     ContentBlocksRepository blocksRepository, IUserDataProvider userDataProvider) : base(context,
                                                                                          entitiesManager, blocksRepository)
 {
     _userDataProvider = userDataProvider;
 }
Ejemplo n.º 3
0
 public PostsController(BaseControllerContext <Core.Posts.Entities.Post <string>, PostsRepository <string> > context,
                        ContentBlocksRepository blocksRepository, IUserDataProvider <string> userDataProvider,
                        BRCPostsPublisher publisher, PostTemplatesRepository <string> templatesRepository,
                        ICurrentUserProvider <string> currentUserProvider) : base(context,
                                                                                  blocksRepository, userDataProvider, currentUserProvider)
 {
     _publisher           = publisher;
     _templatesRepository = templatesRepository;
 }
Ejemplo n.º 4
0
 protected ApiPostsController(
     BaseControllerContext <Posts.Entities.Post <TUserPk>, PostsRepository <TUserPk> > context,
     ContentBlocksRepository blocksRepository, IUserDataProvider <TUserPk> userDataProvider,
     ICurrentUserProvider <TUserPk> currentUserProvider) : base(context,
                                                                blocksRepository)
 {
     _userDataProvider    = userDataProvider;
     _currentUserProvider = currentUserProvider;
 }
Ejemplo n.º 5
0
 public AdsController(BaseControllerContext <Ad, AdsRepository> context,
                      ContentBlocksRepository blocksRepository) : base(context,
                                                                       blocksRepository)
 {
 }
Ejemplo n.º 6
0
 protected ApiPagesController(BaseControllerContext <Page, PagesRepository> context,
                              ContentBlocksRepository blocksRepository) : base(context, blocksRepository)
 {
 }
Ejemplo n.º 7
0
 public TopicsController(
     BaseControllerContext <Topic, TopicsRepository> context,
     ContentBlocksRepository blocksRepository) : base(context,
                                                      blocksRepository)
 {
 }
Ejemplo n.º 8
0
 protected SectionController(BaseControllerContext <TEntity, TRepository> context,
                             BioEntitiesManager entitiesManager,
                             ContentBlocksRepository blocksRepository) : base(context, entitiesManager, blocksRepository)
 {
 }
 protected ContentEntityController(
     BaseControllerContext <TEntity, TRepository> context,
     ContentBlocksRepository blocksRepository) : base(context)
 {
     _blocksRepository = blocksRepository;
 }
Ejemplo n.º 10
0
 protected ApiPagesController(BaseControllerContext <Page, PagesRepository> context,
                              BioEntitiesManager entitiesManager, ContentBlocksRepository blocksRepository) : base(context,
                                                                                                                   entitiesManager, blocksRepository)
 {
 }
 public DevelopersController(
     BaseControllerContext <Developer, DevelopersRepository> context,
     ContentBlocksRepository blocksRepository) : base(context,
                                                      blocksRepository)
 {
 }
Ejemplo n.º 12
0
 protected AdsApiController(BaseControllerContext <Ad, AdsRepository> context,
                            ContentBlocksRepository blocksRepository) : base(context,
                                                                             blocksRepository)
 {
 }
Ejemplo n.º 13
0
 public GamesController(BaseControllerContext <Game, GamesRepository> context,
                        ContentBlocksRepository blocksRepository) : base(context,
                                                                         blocksRepository)
 {
 }
Ejemplo n.º 14
0
 protected SectionController(BaseControllerContext <TEntity, TRepository> context,
                             ContentBlocksRepository blocksRepository) : base(context, blocksRepository)
 {
 }