示例#1
0
        private void btnDeleteTheater_Click(object sender, EventArgs e)
        {
            int id = (int)dgvTheater.CurrentRow.Cells[0].Value;

            _theaterService.Delete(id);
            GetAllTheater();
        }
示例#2
0
 // DELETE: api/Theaters/5
 public void Delete(int id)
 {
     _theaterService.Delete(id);
 }