Exemplo n.º 1
0
		public ActionResult Rename(RenameVersion command)
		{
			return Validating(command, () =>
			{
				_renameExecutor.Execute(command);
				return RedirectToAction("List");
			});
		}
Exemplo n.º 2
0
		public ActionResult Rename(Guid id)
		{
			AppVersion version = _queries.GetVersion(id);
			var mapped = new RenameVersion(id, version.Name);
			return View(mapped);
		}