public IActionResult Get(int id)
        {
            var paciente = _pacienteService.GetByIdIncludingProperties(id);

            return(Json(paciente));
        }
Exemple #2
0
        public IActionResult GetByIdIncludingAllProperties(int id)
        {
            var obj = _service.GetByIdIncludingProperties(id);

            return(Json(obj));
        }