private void ExecuteRemove(object p) { if (p != null && p is Student) { var student = p as Student; ServiceDataProvider.DeleteStudent(student.StudentId); Students.Remove(student); } }
private void ExecuteRemove(object p) { if (p != null && p is Student) { var student = p as Student; ServiceDataProvider.DeleteStudent(student.StudentId); Students.Remove(student); } }