예제 #1
0
        public void Update(tblTeachers teachers)
        {
            var found = repos.Find(teachers.Id);

            found = teachers;
            repos.Update(found);
        }
예제 #2
0
 public void AddTeachers(tblTeachers teachers)
 {
     repos.Create(teachers);
 }