예제 #1
0
        public PetType DeleteByID(int id)
        {
            if (id < 0)
            {
                throw new Exception("Please, enter a valid value for the ID");
            }

            return(_petTypeRepo.DeleteByID(id));
        }