public Task<bool> AddOrUpdateAsync(RepeatableTransaction entity)
 {
     throw new NotImplementedException();
 }
 public Task<DeletedEntity<RepeatableTransaction>> DeteleAsync(RepeatableTransaction entity)
 {
     throw new NotImplementedException();
 }
        public async Task<DeletedEntity<RepeatableTransaction>> DeteleAsync(RepeatableTransaction entity)
        {
            var RepeatableTransactionToDelete = entity.Guid == Guid.Empty
                ? null
                : await RepeatableTransactions.FindAsync(entity.Guid);

            var deletedRepeatableTransaction = RepeatableTransactionToDelete == null
                ? null
                : RepeatableTransactions.Remove(RepeatableTransactionToDelete);

            await this.SaveChangesAsync();
            return new DeletedEntity<RepeatableTransaction>(deletedRepeatableTransaction);
        }
        public async Task<bool> AddOrUpdateAsync(RepeatableTransaction entity)
        {
            if (entity == null)
                throw new ArgumentNullException(nameof(entity));

            var existingRepeatableTransaction = entity.Guid == Guid.Empty
                ? null
                : await RepeatableTransactions.FindAsync(entity.Guid);

            RepeatableTransactions.AddOrUpdate(x => x.Guid, entity);

            await this.SaveChangesAsync();
            return existingRepeatableTransaction == null;
        }
 public async Task<bool> AddOrUpdateAsync(RepeatableTransaction entity)
 {
     await Task.CompletedTask;
     return false;
 }
 public async Task<DeletedEntity<RepeatableTransaction>> DeteleAsync(RepeatableTransaction entity)
 {
     await Task.CompletedTask;
     return new DeletedEntity<RepeatableTransaction>(null);
 }