public async Task <ActionResult> PutAsync([FromBody] Chore chore) { try { await _choreService.PutAsync(chore); return(Ok()); } catch (NotFoundException ex) { return(NotFound()); } catch (Exception ex) { return(StatusCode(StatusCodes.Status500InternalServerError)); } }