//Add new student to DB public void AddStusent(Student student) { _sqlconnection.Insert(student); }
public void UpdateStudent(Student id) { // _sqlconnection.InsertOrReplace(id); _sqlconnection.Update(id); }