public CityQuery(IRepository <City> repository, ExternalAccessSettings externalApiSettings) : base(repository) { this.UseAuthenticate = true; this.AuthenticateApi = externalApiSettings.AuthenticateApi; }
public StateQuery(IRepository <State> repository, ExternalAccessSettings externalApiSettings) : base(repository) { this.UseAuthenticate = false; this.AuthenticateApi = externalApiSettings.AuthenticateApi; }