public IActionResult AddFeedbackConfirmed(int id, SessionUserViewModel svm) { try { User user = UserService.GetByUsername(User.Identity.Name); SessionService.AddFeedback(id, user, svm.FeedbackText); TempData["feedback"] = "Wij hebben je feedback goed ontvangen en zullen ze zo snel mogelijk verwerken."; } catch (Exception e) { Console.WriteLine(e); TempData["error"] = e.Message; } return(RedirectToAction(nameof(Details), new { id })); }