예제 #1
0
    public IActionResult Get(int id)
    {
        var p = _people.GetById(id);

        if (p == null)
        {
            return(NoContent());
        }
        else
        {
            return(Json(p));
        }
    }