public bool DeleteAsync(int id) { if (id <= 0) { throw new ArgumentException("id错误"); } return(_bannerRepository.DeleteAsync(id)); }
public bool DeleteAsync(int id) { if (id <= 0) { throw new ArgumentException("id错误"); } return(_bannerRepository.DeleteAsync(id)); }