public void QueryAuditLogTest() { //Assign/Act var query = AuditLogAccess.GetAll(); //Assert Assert.AreNotEqual(query.Count, 0); }
private void MonitorEngineForm_Load(object sender, EventArgs e) { dataGridViewPerformance.DataSource = PerformanceAccess.GetAll(); dataGridViewLogs.DataSource = AuditLogAccess.GetAll(); SetChart(chart1); SetChart(chart2); SetUpPerformanceDataGridView(); SetUpLogsDataGridView(); }
private void BtnClear_Click(object sender, EventArgs e) { AuditLogAccess.DeleteAll(); dataGridViewLogs.DataSource = AuditLogAccess.GetAll(); }