public ActionResult <Target> GetTargetWithStatusById(int id) { var target = _targetRepository.GetByWithStatus(id); if (target != null) { return(Ok(target)); } return(NotFound()); }
public ActionResult <Target> GetTargetWithStatusById(int id) { var target = _targetRepository.GetByWithStatus(id); if (target != null) { return(Ok(target)); } return(NotFound()); }