public SepidService( SepidHttpClient sepidHttpClient, IOptions <SepidOptions> sepidOptions, SepidContext sepidContext ) { _sepidHttpClient = sepidHttpClient; _sepidContext = sepidContext; _sepidOptions = sepidOptions.Value; }
public SepidHttpClient(IOptions <SepidOptions> sepidOptions) { _sepidOptions = sepidOptions.Value; SetToken().Wait(); }