public void UpdateAsync(Instructor t) { dbContext.Entry(t).State = EntityState.Modified; }
public void RemoveAsync(Instructor t) { dbContext.Entry(t).State = EntityState.Deleted; }
public void InsertAsync(Instructor t) { dbContext.Instructor.Add(t); }