public IActionResult AddPerson([FromBody] Result p) { if (p == null) { return(BadRequest()); } _people.Add(p); return(Created("GetPerson", p)); }
public IActionResult AddPerson([FromBody] Result p) { if (p == null) { return(BadRequest()); } _people.Add(p); return(Created("GetPerson", p)); }