private UnitOfWork() //private to prevent user to create object using new { context = new yallagameContext(); //we call this constructor only one time because we can call it only one time }
public AuthRepository(yallagameContext context) { _context = context; }
public PlaceRepository(yallagameContext context) { _context = context; }