public async Task <ActionResult> DeleteByIdAsync(int cID) { try { await _choreService.DeleteByIdAsync(cID); return(Ok()); } catch (NotFoundException ex) { return(NotFound()); } catch (Exception ex) { return(StatusCode(StatusCodes.Status500InternalServerError)); } }