Example #1
0
        public ActionResult <Target> GetTargetWithStatusById(int id)
        {
            var target = _targetRepository.GetByWithStatus(id);

            if (target != null)
            {
                return(Ok(target));
            }
            return(NotFound());
        }