public async Task <ICustomerChecksInfo> UpdateCheckStatesAsync(string clientId, bool?pep = null, bool?crime = null, bool?sanction = null)
        {
            var entity = CustomerChecksInfoEntity.Create(clientId, pep, crime, sanction);
            await _tableStorage.InsertOrMergeAsync(entity);

            return(entity);
        }
        public async Task <ICustomerChecksInfo> UpdateCheckIdsAsync(string clientId, string pepCheckId = null, string crimeCheckId = null, string sanctionCheckId = null)
        {
            var entity = CustomerChecksInfoEntity.Create(clientId, pepCheckId, crimeCheckId, sanctionCheckId);
            await _tableStorage.InsertOrMergeAsync(entity);

            return(entity);
        }
        public async Task <ICustomerChecksInfo> AddAsync(ICustomerChecksInfo entity)
        {
            var newEntity = CustomerChecksInfoEntity.Create(entity);
            await _tableStorage.InsertOrReplaceAsync(newEntity);

            return(newEntity);
        }