public async Task <ActionResult <Adult> > DeleteAdult(int id) { var adult = dbAction.GetAdultById(id); if (adult == null) { return(NotFound()); } dbAction.DeleteAdult(adult); return(adult); }