Пример #1
0
        public bool DeleteAsync(int id)
        {
            if (id <= 0)
            {
                throw new ArgumentException("id错误");
            }

            return(_bannerRepository.DeleteAsync(id));
        }