public Boolean DeleteStudent(StudentVO instudent) { Boolean status = false; try { status = studentDao.DeleteStudent(instudent); } catch (CustomException e) { throw e; } return(status); }
/// <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)); }