public async Task <BookApiWhiteList> UpdateAsync(BookApiWhiteList entity)
        {
            await CheckDuplicateAppidAsync(entity.Id, entity.Appid);

            return(await _repository.UpdateAsync(entity));
        }
        public async Task <BookApiWhiteList> InsertAsync(BookApiWhiteList entity)
        {
            await CheckDuplicateAppidAsync(null, entity.Appid);

            return(await _repository.InsertAsync(entity));
        }