Example #1
0
 public ForumsController(IForumsService service, IUsersService userService, ITopicsService topicService, ITagsService tagService)
 {
     _service = service;
     _userService = userService;
     _topicService = topicService;
     _tagService = tagService;
 }
 public PostsController(IPostsService posts, IAnswersService answers, ICategoriesService categories, ITagsService tags, ICommentsService comments)
 {
     this.posts = posts;
     this.answers = answers;
     this.categories = categories;
     this.tags = tags;
     this.comments = comments;
 }
        public void TestsSetup()
        {
            AutoMapperConfig.RegisterMappings();

            this.tagsServiceMock = ServicesObjectFactory.GetTagsService();
            this.controller = new TagsController(this.tagsServiceMock);
            this.controller.Cache = new HttpCacheService();
        }
Example #4
0
 public AlbumsController(
     IAlbumsService albumsService, 
     ITagsService tagsService, 
     IImagesService imagesService)
 {
     this.albumsService = albumsService;
     this.tagsService = tagsService;
     this.imagesService = imagesService;
 }
 public DefaultRootApiOperations(ITagsService tags, ITagService tag, IVersionService version, ILayoutsService layouts, ILayoutService layout,
     ICategoriesService categories, ICategoryService category)
 {
     Tags = tags;
     Tag = tag;
     Categories = categories;
     Category = category;
     Version = version;
     Layouts = layouts;
     Layout = layout;
 }
Example #6
0
 public APIController(
     ITagsService tags,
     IStudentsService students,
     ITeachersService teachers,
     IDiplomasService diplomas)
 {
     this.tags = tags;
     this.students = students;
     this.teachers = teachers;
     this.diplomas = diplomas;
 }
Example #7
0
 public HomeController(
     IDiplomasService diplomas,
     ITeachersService teachers,
     IStudentsService students,
     IMessagesService messages,
     ITagsService tags)
 {
     this.diplomas = diplomas;
     this.teachers = teachers;
     this.students = students;
     this.messages = messages;
     this.tags = tags;
 }
Example #8
0
        public void TestSetup()
        {
            pageService = new PageService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            journalService = new JournalService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            listsService = new ListsService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            listItemsService = new ListItemsService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            notesService = new NotesService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            separatorService = new SeparatorService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            statusService = new StatusService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            tagsService = new TagsService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());
            userService = new UserService(ConfigurationSettings.AppSettings["backpack.account.name"].ToString(), ConfigurationSettings.AppSettings["backpack.account.token"].ToString());

            testPageId = ConfigurationSettings.AppSettings["backpack.pages.testpage"].ToString();
            testUserId = ConfigurationSettings.AppSettings["backpack.users.testuserid"].ToString();
            testInvalidUserId = ConfigurationSettings.AppSettings["backpack.users.testinvaliduserid"].ToString();
            testTagId = ConfigurationSettings.AppSettings["backpack.pages.testtagid"].ToString();
            testPageTitle = ConfigurationSettings.AppSettings["backpack.pages.testpagetitle"].ToString();
        }
 public ProjectsController(
     IUsersService usersService,
     IVisitsService visitsService,
     IProjectsService projectsService,
     ITagsService tagsService,
     IMappingService mappingService,
     IImagesService imagesService,
     IDownloadableFilesService downloadableFilesService,
     IFileSystemService fileSystemService)
     : base(usersService)
 {
     this.visitsService = visitsService;
     this.projectsService = projectsService;
     this.tagsService = tagsService;
     this.mappingService = mappingService;
     this.imagesService = imagesService;
     this.downloadableFilesService = downloadableFilesService;
     this.fileSystemService = fileSystemService;
 }
Example #10
0
 public EventsController(IEventsRepository eventsRepository, ITagsService tagsService, UserManager <User> userManager)
 {
     this.eventsRepository = eventsRepository;
     this.tagsService      = tagsService;
     this.userManager      = userManager;
 }
Example #11
0
 public TagService(ITagsService tagsService)
 {
     this._tagsService = tagsService;
 }
 public TagsApiController(ITagsService service)
 {
     this._tagsService = service;
 }
Example #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ScaleAnswerSetControllerHelper" /> class.
 /// </summary>
 /// <param name="scaleAnswerSetService">The scale answer set service.</param>
 /// <param name="careElementContext">The care element context.</param>
 /// <param name="tagsService">The tags service.</param>
 /// <param name="globalSearchCacheHelper">The global search cache helper.</param>
 /// <param name="tagsSearchCacheHelper">The tags search cache helper.</param>
 /// <param name="mediaFileHelper">The audio file helper.</param>
 public ScaleAnswerSetControllerHelper(IScaleAnswerSetService scaleAnswerSetService,
                                       ICareElementContext careElementContext, ITagsService tagsService,
                                       IGlobalSearchCacheHelper globalSearchCacheHelper,
                                       ITagsSearchCacheHelper tagsSearchCacheHelper,
                                       IMediaFileHelper mediaFileHelper
                                       )
 {
     this.scaleAnswerSetService   = scaleAnswerSetService;
     this.careElementContext      = careElementContext;
     this.tagsService             = tagsService;
     this.globalSearchCacheHelper = globalSearchCacheHelper;
     this.tagsSearchCacheHelper   = tagsSearchCacheHelper;
     this.mediaFileHelper         = mediaFileHelper;
 }
 public TagAndCategoryController(ITagsService tagsService, IUsersService usersService, ICategoriesService categoriesService)
 {
     this._tagsService  = tagsService;
     _usersService      = usersService;
     _categoriesService = categoriesService;
 }
Example #15
0
 public BlogController(IBlogService blog, ITagsService tags)
 {
     this.blog = blog;
     this.tags = tags;
 }
Example #16
0
 public ArticleController(IArticleService articleService, IAuthorService authorService, ITagsService tagsService, IArticleTagsService articleTagsService)
 {
     _articleService     = articleService;
     _authorService      = authorService;
     _tagsService        = tagsService;
     _articleTagsService = articleTagsService;
 }
Example #17
0
 public TagsApiController(/*IUserService UserService, */ ITagsService TagsService)
 {
     //_userService = UserService;
     _tagsService = TagsService;
 }
Example #18
0
 public PacksController(IPacksService packsService, ITagsService tagsService)
 {
     this.packsService = packsService;
     this.tagsService  = tagsService;
 }
Example #19
0
 public ArticleService(IArticleDataSource dataSource
                       , ITagsService tagsService)
 {
     _dataSource  = dataSource;
     _tagsService = tagsService;
 }
Example #20
0
 public TagsController(ITagsService service)
 {
     _service = service;
 }
 public TagsController(ITagsService tags)
 {
     m_Tags = tags;
 }
Example #22
0
 static ArticleHelpers()
 {
     CategoryService = new CategoryService();
     TagsService     = new TagService();
     UserRepository  = new UserService();
 }
Example #23
0
 public Create(ILogger logger, ITagsService tagsService)
 {
     this.logger      = logger;
     this.tagsService = tagsService;
 }
Example #24
0
 public TagsAdapter(ITagsService tagsService, IMapper mapper)
 {
     this.tagsService = tagsService;
     this.mapper      = mapper;
 }
 public HomeController(ITweetsService tweets, ITagsService tags)
 {
     this.tweets = tweets;
     this.tags = tags;
 }
 public TagsController(ITagsService tagsService)
 {
     this.tagsService = tagsService;
 }
Example #27
0
 public GalleryController(IImagesService imagesService, ITagsService tagsService)
 {
     this.imagesService = imagesService;
     this.tagsService   = tagsService;
 }
Example #28
0
 public IndexModel(ITagsService tagsService)
 {
     this.tagsService = tagsService;
 }
Example #29
0
 public TagsController(ITagsService tagsService, ICurrentUserService currentUserService)
 {
     _tagsService        = tagsService;
     _currentUserService = currentUserService;
 }
 public TagsController(ITagsService tags)
 {
     this.tags = tags;
 }
 public TagsController(ITagsService service, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor)
 {
     _service = service;
 }
Example #32
0
 public TagsController(ITagsService tagsService)
 {
     this.tagsService = tagsService;
 }
 public TagsController(IPostsService postsService, ITagsService tagsService)
 {
     this.postsService = postsService;
     this.tagsService  = tagsService;
 }
 public PlansApiController(IUserService userService, IPlansService plansService, ITagsService tagsService)
 {
     this._userService = userService;
     this._plansService = plansService;
     this._tagsService = tagsService;
 }
Example #35
0
 public TagsController(ITagsService tagsService, IIdentityService identityService)
 {
     _tagsService     = tagsService;
     _identityService = identityService;
 }
Example #36
0
 public TagsController(ITagsService tagServ)
 {
     tagService = tagServ;
 }
Example #37
0
 public TagsController(ITagsService tagsService)
 {
     _tagsService = tagsService;
 }
 public CmsController(IUserService uService, ICMSService cmsService, ITagsService tagsService)
     : base(uService)
 {
     this._cmsService = cmsService;
     this._tagsService = tagsService;
 }
Example #39
0
 public HomeController(IProductsService products, IPadsService pads, ICitiesService cities, ITagsService tags, ICategoriesService categories, ICouriersService couriers, IFeedbacksService feedbacks, IOrdersService orders, IBulletinsService bulletins, IBlogService blog, IConfiguration configuration, ILoggerService loggerService)
 {
     this.products      = products;
     this.pads          = pads;
     this.cities        = cities;
     this.tags          = tags;
     this.categories    = categories;
     this.couriers      = couriers;
     this.feedbacks     = feedbacks;
     this.orders        = orders;
     this.bulletins     = bulletins;
     this.blog          = blog;
     this.configuration = configuration;
     this.logger        = loggerService;
 }
Example #40
0
 public NuggetsController(IServiceLocator serviceLocator)
 {
     _nuggetService = serviceLocator.Get<INuggetsService>();
     _memberAuthenticationService = serviceLocator.Get<IMemberAuthenticationService>();
     _tagsService = serviceLocator.Get<ITagsService>();
 }
Example #41
0
 public TagsController(ITagsService tagsServiceParam)
 {
     tagsService = tagsServiceParam;
 }
Example #42
0
 public UserController(IUsersService users, IShortStoriesService stories, ITagsService tags)
 {
     this.users = users;
     this.stories = stories;
     this.tags = tags;
 }
Example #43
0
 public ArticleController()
 {
     CategoryService = new CategoryService();
     TagsService     = new TagService();
     _articleService = new ArticleService();
 }
Example #44
0
 public NewsService(INewsDataSource dataSource
                    , ITagsService tagsService)
 {
     _dataSource  = dataSource;
     _tagsService = tagsService;
 }
 public TagServiceForContractAdvice(ITagsService tagsService)
 {
     this._tagsService = tagsService;
 }
Example #46
0
 public TagsController(IServiceLocator serviceLocator)
 {
     _tagsService = serviceLocator.Get<ITagsService>();
 }
 public TagsController(ITagsService tags)
 {
     this.tags = tags;
 }
Example #48
0
 public BookmarksService(IDeletableRepository<Bookmark> bookmarks, ITagsService tagService, IWebsiteService websiteService)
 {
     this.bookmarks = bookmarks;
     this.tagService = tagService;
     this.websiteService = websiteService;
 }
 public TagsController(ITagsService tagsService,
                       IEformPermissionsService permissionsService)
 {
     _tagsService        = tagsService;
     _permissionsService = permissionsService;
 }