// GET: Cita/Details/5 public async Task <IActionResult> Details(int?id) { if (id == null) { return(NotFound()); } var t068_CITA = await _repository.GetById(id); if (t068_CITA == null) { return(NotFound()); } return(PartialView(t068_CITA)); }
public IActionResult DeleteConfirmation(int Id) { Cita cita = _citas.GetById(Id); return(View(cita)); }