Exemple #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);
 }
Exemple #2
0
 public void Delete(int id)
 {
     try
     {
         cursoData.Delete(id);
     }
     catch (Exception Ex)
     {
         throw Ex;
     }
 }
Exemple #3
0
 public void Delete(int ID)
 {
     try
     {
         CursoData.Delete(ID);
     }
     catch (DeleteException ex)
     {
         throw ex;
     }
     catch (Exception ex)
     {
         throw new CustomException(ex);
     }
 }
Exemple #4
0
        public void Delete(int Id)
        {
            CursoAdapter curso = new CursoAdapter();

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