public ActionResult AddComment(string commentText, int itemId) { if (CollectionService.GetItemById(itemId) != null) { SendMessage(itemId, commentText, UserService.GetProfileInformation(User.Identity.GetUserId()).Name); CollectionService.AddComment(commentText, itemId, User.Identity.GetUserId()); return(RedirectToAction($"Item/{itemId}")); } else { return(View("Error")); } }