Ejemplo n.º 1
0
		public ActionResult Rename(RenameBuild command)
		{
			return Validating(command, () =>
			{
				_renameExecutor.Execute(command);
				return RedirectToAction("List");
			});
		}
Ejemplo n.º 2
0
		public ActionResult Rename(Guid id)
		{
			Build build = _queries.GetBuild(id);
			var mapped = new RenameBuild(id, build.Name);
			return View(mapped);
		}