예제 #1
0
 public void UpdateAsync(Instructor t)
 {
     dbContext.Entry(t).State = EntityState.Modified;
 }
예제 #2
0
 public void RemoveAsync(Instructor t)
 {
     dbContext.Entry(t).State = EntityState.Deleted;
 }
예제 #3
0
 public void InsertAsync(Instructor t)
 {
     dbContext.Instructor.Add(t);
 }