public bool DeleteAsync(int id) { if (id <= 0) { throw new ArgumentException("Id不能为null"); } return(_programRepository.DeleteAsync(id)); }