public void Initialize(RepositoryExtensionFactory.ExtensionEvents events, IConfiguration config) { events.AddtoActionStarting((e) => { Debug.WriteLine("[Action Starting] [LOGGED] " + e.Entity.ToString() + " " + e.Action.ToString()); }); events.AddtoActionStared((e) => { Debug.WriteLine("[Action Completing] [LOGGED] " + e.Entity.ToString() + " " + e.Action.ToString()); }); // events.CallEntityProcessed }
public void Initialize(RepositoryExtensionFactory.ExtensionEvents events, IConfiguration config) { events.AddtoActionStared(Validate); }