コード例 #1
0
 public bool DeleteAStudentandSendFromDA(Student aStudent)
 {
     if (aStudent.Id == " ")
     {
         this.Message = "Id is incorrect";
         return(false);
     }
     else
     {
         StudentDA StudentDAOBj = new StudentDA();
         bool      result       = StudentDAOBj.DeleteAStudentFromDB(aStudent);
         return(result);
     }
 }