public ActionResult Rename(RenamePromotionCommand command) { if (!ModelState.IsValid) { return(View()); } _renamePromotionHandler.Handle(command); return(RedirectToAction("Details", new { id = command.PromotionId })); }
public ActionResult Rename(RenamePromotionCommand command) { if (!ModelState.IsValid) { return View(); } _renamePromotionHandler.Handle(command); return RedirectToAction("Details", new { id = command.PromotionId }); }