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

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

            return(Json(obj));
        }