public static int Add(Classes classes, Grades grades) { int retvalue = -1; classes.GradesId = Grades.Add(grades); retvalue = Classes.Add(classes); return(retvalue); }
public static void Update(int Id, FeeSchedules feeschedules, Grades grades) { feeschedules.GradesId = Grades.Add(grades); FeeSchedules.Update(Id, feeschedules); }
public static void Update(int Id, Classes classes, Grades grades) { classes.GradesId = Grades.Add(grades); Classes.Update(Id, classes); }