public AuthenticateController(IErrorService errorService, IApiHelper apiHealper, IAuthService authSrvice, ILogger <AuthenticateController> logger) { _authSrvice = authSrvice; _apiHealper = apiHealper; _errorService = errorService; _logger = logger; _errRetrunFactory = new ErrorObjectReturnFactory(); _tokensReturnFactory = new TokensReturnFactory(); _boolResultFactory = new BoolResultFactory(); }
public WordsCardsController(IJWTService jwtService, IApiHelper apiHealper, ILogger <WordsCardsController> logger, IWordsCardsService wordsCardsService, IErrorService errorService) { _apiHealper = apiHealper; _jwtService = jwtService; _logger = logger; _wordsCardsService = wordsCardsService; _errorService = errorService; _wordCardReturnFactory = new WordCardReturnFactory(); _boolResultFactory = new BoolResultFactory(); }
public ArticleController( IJWTService jwtService, IApiHelper apiHealper, IArticleService articleService, IErrorService errorService, IErrorContainer errorContainer, ILogger <ArticleController> logger) { //_articleRepository = articleRepository; _jwtService = jwtService; _apiHealper = apiHealper; _articleService = articleService; _errorService = errorService; _errorContainer = errorContainer; _logger = logger; //_webHostEnvironment = webHostEnvironment; _errRetrunFactory = new ErrorObjectReturnFactory(); _articleShortReturnFactory = new ArticleShortReturnFactory(); _articleReturnFactory = new ArticleReturnFactory(); _boolResultFactory = new BoolResultFactory(); }