@@ -86,10 +86,10 @@ namespace MySystem
edit.SourcePosSn = CouposCode + "," + PosSn;
}
StartId = Pos.Id;
- function.WriteLog("/", "PosId.txt", StartId.ToString());
db.SaveChanges();
db.Dispose();
+ function.WriteLog("/", "PosId.txt", StartId.ToString());