private readonly PersonListDbContext _personListDbContext; // Dependency of injection public CountryRepo(PersonListDbContext personListDbContext) // This is the connection to the database { this._personListDbContext = personListDbContext; }
public PersonGroupRepo(PersonListDbContext personListDbContext) { this._personListDbContext = personListDbContext; }
public PersonLanguageRepo(PersonListDbContext personListDbContext) { _personListDbContext = personListDbContext; }
private readonly PersonListDbContext personListDbContext; // Dependency of injection public PeopleRepo(PersonListDbContext personListDbContext) // This is the connection to the database { this.personListDbContext = personListDbContext; }