public SingalrController(IHubContext <SingalrClient, ISingalrClient> hubContext, ISingalrContent singalrSvc , ITidingsService tidingsService) { _hubContext = hubContext; _singalrSvc = singalrSvc; _tidingsService = tidingsService; }
public UserController(IUserService userService, IEventHandler <NotifyValidation> notifyValidationHandler , ICacheClient cacheClient, IHttpContextAccessor httpContext, ITidingsService tidingsService , IArticleService articleService) { _userService = userService; _notifyValidationHandler = (NotifyValidationHandler)notifyValidationHandler; _cacheClient = cacheClient; _httpContext = httpContext; _tidingsService = tidingsService; _articleService = articleService; }
public ArticleService(IArticleRepository articleRepoistory, IUserRepository userRepoistory, ICommentService commentService , ICommentRepository commentRepository, ITidingsService tidingsService, IHttpClientFactory httpClientFactory, ICacheFactory cacheFactory) { _articleRepoistory = articleRepoistory; _userRepoistory = userRepoistory; _commentService = commentService; _commentRepository = commentRepository; _tidingsService = tidingsService; _httpClientFactory = httpClientFactory; _cacheFactory = cacheFactory; }
public TidingsController(ITidingsService tidingsService) { _tidingsService = tidingsService; }
public TidingsController(ITidingsService tidingsService, IHttpContextAccessor httpContext) { _tidingsService = tidingsService; _httpContext = httpContext; }