示例#1
0
 public void Delete(int ID)
 {
     if (this.ExisteAlumnoInscripto(ID))
     {
         throw new Exception("No se puede eliminar, existe al menos un alumno inscripto.");
     }
     cursoAdapter.Delete(ID);
 }
示例#2
0
 public void Delete(int id)
 {
     try
     {
         cursoData.Delete(id);
     }
     catch (Exception Ex)
     {
         throw Ex;
     }
 }
示例#3
0
 public void Delete(int ID)
 {
     try
     {
         CursoData.Delete(ID);
     }
     catch (DeleteException ex)
     {
         throw ex;
     }
     catch (Exception ex)
     {
         throw new CustomException(ex);
     }
 }
示例#4
0
        public void Delete(int Id)
        {
            CursoAdapter curso = new CursoAdapter();

            curso.Delete(Id);
        }
 public void Delete(int ID)
 {
     cursoData.Delete(ID);
 }
示例#6
0
 public void Delete(int id)
 {
     CursoData.Delete(id);
 }