Exemple #1
0
        public async Task <bool> DisconnectAssetWithBankAcountAsync(Guid userId, Guid assetId)
        {
            await _bankAccountRepository.DeleteAsync(userId, assetId);

            await _unitOfWork.SaveChangesAsync();

            return(true);
        }
        public async Task DeleteAsync(int id)
        {
            await _bankAccountRepository.DeleteAsync(id);

            await _unitOfWork.SaveChangesAsync();
        }