Exemplo n.º 1
0
        // 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));
        }
Exemplo n.º 2
0
        public IActionResult DeleteConfirmation(int Id)
        {
            Cita cita = _citas.GetById(Id);

            return(View(cita));
        }