public ParseController(IScanWordParser parser, IVocabularyService vocabularyService, UserManager userManager) { _parser = parser; _userManager = userManager; _vocabularyService = vocabularyService; }
/// <summary>Initializes a new instance of the <see cref="MaterialsService"/> class.</summary> /// <param name="watchWordUnitOfWork">Unit of work over WatchWord repositories.</param> /// <param name="parser">Words parser.</param> /// <param name="imageService">Image service.</param> /// <param name="accountService">Account service.</param> public MaterialsService(IWatchWordUnitOfWork watchWordUnitOfWork, IScanWordParser parser, IImageService imageService, IAccountService accountService) { _watchWordUnitOfWork = watchWordUnitOfWork; _imageService = imageService; _accountService = accountService; _parser = parser; }