static void testTelerivet() { var conf = Utils.ConfigUtils.LoadOrPrompt <TelerivetDownload.TelerivetApiConfig>(); ContactAndGroupDownloader.DownloadV2(conf); Console.ReadLine(); }
static void Main(string[] args) { //testTelerivet(); //var optionsBuilder = new DbContextOptionsBuilder<MasterDatabaseContext>(); //optionsBuilder.UseSqlite(@"DataSource=G:\Team Drives\Reporting_Restricted\CSH\Master\dev.db"); //var db = new MasterDatabaseContext(optionsBuilder.Options); //db.Database.EnsureCreated(); //var conf = Utils.ConfigUtils.LoadOrPrompt<SurveyCTODownload.SurveyCTODownloadConfig>(); //try //{ // var surveys = FormDataDownloader.DownloadPartnerSurvey20190223(conf); //} catch (Exception ex) //{ // Console.WriteLine(ex.ToString()); //} var conf = Utils.ConfigUtils.LoadOrPrompt <TelerivetDownload.TelerivetApiConfig>(); ContactAndGroupDownloader.DownloadV1(conf); Console.ReadLine(); }