static void Main(string[] args) { var airtableGateway = new AirtableGateway(System.Environment.GetEnvironmentVariable("AIRTABLE_URL"), System.Environment.GetEnvironmentVariable("AIRTABLE_API_KEY"), System.Environment.GetEnvironmentVariable("AIRTABLE_TABLE_ID")); new DeliveryMechanism(new ToggleWorkshopAttendance(airtableGateway, airtableGateway), new GetWorkshops(airtableGateway), System.Environment.GetEnvironmentVariable("PORT")).Run((() => Console.WriteLine("Server Started"))); }
static void Main(string[] args) { using (SentrySdk.Init("https://[email protected]/1806644")) { var airtableGateway = new AirtableGateway(System.Environment.GetEnvironmentVariable("AIRTABLE_URL"), System.Environment.GetEnvironmentVariable("AIRTABLE_API_KEY"), System.Environment.GetEnvironmentVariable("AIRTABLE_TABLE_ID")); new DeliveryMechanism(new ToggleWorkshopAttendance(airtableGateway, airtableGateway), new GetWorkshops(airtableGateway), System.Environment.GetEnvironmentVariable("PORT")) .Run((() => Console.WriteLine("Server Started"))); } }