public void Commit() { if (logger != null) { logger.Log(context.ChangeTracker.Entries()); } context.SaveChanges(); if (logger != null) { logger.Save(); } }
public void Commit() { if (logger != null) { logger.Log(context.ChangeTracker.Entries()); } context.SaveChanges(); if (logger != null) { logger.Save(); } }