public SqliteCertificateStore(IOptions <MedikitMobileOptions> options) { _options = options.Value; var path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Medikit.db3"); _database = new SQLiteAsyncConnection(path); _database.CreateTableAsync <MedikitCertificate>().Wait(); Init().Wait(); }
public PrescriptionService(IHttpClientFactory httpClientFactory, IOptions <MedikitMobileOptions> options) { _httpClientFactory = httpClientFactory; _options = options.Value; }