Example #1
0
        internal Knight GetOneById(int id)
        {
            Knight current = _repo.GetOneById(id);

            if (current == null)
            {
                throw new SystemException("INVALID ID");
            }
            else
            {
                return(current);
            }
        }