Exemplo n.º 1
0
 public void DeleteProfessor(int profID)
 {
     try
     {
         universityRepository.DeleteProfessor(profID);
     }
     catch (Exception ex)
     {
         //Include catch blocks for specific exceptions first,
         //and handle or log the error as appropriate in each.
         //Include a generic catch block like this one last.
         throw ex;
     }
 }