// GET: Users/Edit/5 public async Task <IActionResult> Edit(int?id) { if (id == null) { return(NotFound()); } var user = await _servicioUsuario.GetEditById(id); if (user == null) { return(NotFound()); } return(View(user)); }