예제 #1
0
        public bool DeleteAsync(int id)
        {
            if (id <= 0)
            {
                throw new ArgumentException("Id不能为null");
            }

            return(_programRepository.DeleteAsync(id));
        }