public void Update(tblTeachers teachers) { var found = repos.Find(teachers.Id); found = teachers; repos.Update(found); }
public void AddTeachers(tblTeachers teachers) { repos.Create(teachers); }