public ArticleController(IArticleService articleService, IArticleRepository articleRepository, IHttpContextAccessor httpContext , IUserService userService, IEventHandler <NotifyValidation> notifyValidationHandler) { _articleService = articleService; _articleRepository = articleRepository; _httpContext = httpContext; _userService = userService; _notifyValidationHandler = (NotifyValidationHandler)notifyValidationHandler; }
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 LoginController(IUserService userService, ICacheClient cacheClient, IEventHandler <NotifyValidation> notifyValidationHandler) { _userService = userService; _notifyValidationHandler = (NotifyValidationHandler)notifyValidationHandler; _cacheClient = cacheClient; }