using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using gehGassi.Core.Interfaces;
using Microsoft.EntityFrameworkCore;
namespace gehGassi.Persistence
{
///
/// Service welcher Operationen in einem Repository gruppiert und bestätigt (speichert).
/// Weiters werden die einzelnen Repositories nur über diesen Service abgerufen
///
public class UnitOfWork : IUnitOfWork
{
private bool _disposed = false;
private readonly IServiceProvider _serviceProvider;
private readonly IAuditDbContext _context;
private readonly Dictionary