public static void UpdateStudent(ServiceReference1.Student student) { var update = db.UpdateStudent(student); if (update) { Console.WriteLine("true"); } else { Console.WriteLine("false"); } }
public static void addStudent(ServiceReference1.Student student) { var add = db.AddNewStudent(student); if (add) { Console.WriteLine("true"); } else { Console.WriteLine("false"); } }