예제 #1
0
 public void Update(DutyChart obj)
 {
     db.Entry(obj).State = EntityState.Modified;
     Save();
 }
예제 #2
0
 public void Insert(DutyChart obj)
 {
     db.DutyChart.Add(obj);
     Save();
 }