public IActionResult Get(int id) { var chore = _choreService.Get(id).ToApiModel(); if (chore == null) { return(NotFound()); } return(Ok(chore)); }
public IActionResult Get(int id) { var chore = _choreService.Get(id).ToApiModel(); if (chore == null) { return(NotFound()); } return(Ok(chore)); }