public async Task <IActionResult> PostPerson([FromBody] Person person) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } _personBusiness.IsertPerson(person); return(CreatedAtAction("GetPerson", new { id = person.Id }, person)); }