public async Task <IActionResult> Add(AddArticleViewModel inputModel)
        {
            inputModel.UserId = userManager.GetUserId(User);

            if (!ModelState.IsValid)
            {
                return(View(inputModel));
            }

            int articleId = await articlesService.AddArticleAsync(inputModel);

            if (articleId > 0)
            {
                TempData["articleAdded"] = true;
            }

            return(RedirectToAction(nameof(Index)));
        }