public ActionResult Editar(ModeloModel item, FormCollection form) { Guid marcaID = Guid.Empty; if (Guid.TryParse(form["Marcas"], out marcaID)) { item.MarcaID = marcaID; } ContextHelper.AlterarModelo(ConverterHelper <ModeloModel, Modelo> .ConvertAParaB(item)); return(RedirectToAction("Index")); }