/// <summary> /// 更新 /// </summary> /// <param name="log"></param> public void Edit(Entities.log log) { this.logService.Edit(log); }
/// <summary> /// 更新 /// </summary> /// <param name="log"></param> public void Edit(Entities.log log) { db.Entry(log).State = EntityState.Modified; db.SaveChanges(); }
/// <summary> /// インサート /// </summary> /// <param name="log"></param> public void Insert(Entities.log log) { this.logService.Insert(log); }
/// <summary> /// インサート /// </summary> /// <param name="log"></param> public void Insert(Entities.log log) { db.logs.Add(log); db.SaveChanges(); }