public ActionResult AddSessionDelegate(AddDelegateCommand command) { var errors = mediator.ProcessCommand(command); if (errors.Any()) { //diplay errors to the user return View(errors); } return RedirectToAction("Index", "SessionDelegate"); }