public UnitOfWork(IDbContextFactory <TContext> dataContextFactory) { DbContext = dataContextFactory.GetDataContext(); }