public async Task <ActionResult> Details(int id) { ResultModeloServiceModel result = new ResultModeloServiceModel(); result = (ResultModeloServiceModel)(await _ModeloService.GetModeloById(id)).Data; ModeloWebUiModel oModeloWebUiModel = new ModeloWebUiModel() { Modelo_Id = result.Marca_Id, Nombre = result.Nombre }; return(View(oModeloWebUiModel)); }