public EntityManager(IPBUnitOfWork unit, IMappingEngine map) { this.uow = unit; this.mapper = map; }
public EntityManager() { this.uow = new PBUnitOfWork(new PBEntities()); this.mapper = Mapper.Engine; }