private void DeleteT_Click(object sender, EventArgs e)
        {
            if (dtableHospitals.SelectedRows.Count > 0)
            {
                int SelectedIndex = dtableHospitals.SelectedRows[0].Index;

                int RowID = int.Parse(dtableHospitals[0, SelectedIndex].Value.ToString());

                SHC.Delete(RowID);
            }
        }
Example #2
0
        public void Post_Deletes_Show()
        {
            var result = underTest.Delete(1);

            Assert.True(result.Value);
        }