public void AddFallReport(FallReport report) { try { report.ReportLocation = Geocode(report.ReportAddress); dal.AddReport(report); KMeans kMeans = new KMeans(report.ReportTime); kMeans.Calculate_K_Means(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }