public async Task <ActionResult> removeAdult([FromRoute] int id) { try { service.RemovePerson(id); return(Ok()); } catch (Exception e) { Console.WriteLine(e); return(StatusCode(500, e.Message)); } }