public List <Student> GetAllStudent() { try { StudentGetway studentGetway = new StudentGetway(); return(studentGetway.GetAllStudent()); } catch (Exception) { throw; } }
public int GetAllStudent(int departmentId) { return(studentGetway.GetAllStudent(departmentId)); }