Beispiel #1
0
    public Boolean DeleteStudent(StudentVO instudent)
    {
        Boolean status = false;

        try
        {
            status = studentDao.DeleteStudent(instudent);
        }
        catch (CustomException e)
        {
            throw e;
        }
        return(status);
    }
Beispiel #2
0
 /// <summary>
 /// Removes specific student
 /// </summary>
 /// <param name="id">Identifier</param>
 /// <returns>No of students Deleted</returns>
 public int Delete(int id = 0)
 {
     return(_studentDao.DeleteStudent(id));
 }