public virtual void OnSaveExecuted <T, TKey>(RepositoryActionContext <T, TKey> context) where T : class
 {
 }
 public virtual bool OnSaveExecuting <T, TKey>(RepositoryActionContext <T, TKey> context) where T : class
 {
     return(true);
 }
 public virtual void OnDeleteExecuted <T, TKey>(T entity, RepositoryActionContext <T, TKey> context) where T : class
 {
 }
 public virtual bool OnDeleteExecuting <T, TKey>(T entity, RepositoryActionContext <T, TKey> context) where T : class
 {
     return(true);
 }
 public virtual void OnError <T, TKey>(RepositoryActionContext <T, TKey> context, Exception ex) where T : class
 {
 }
 public virtual void OnInitialized <T, TKey>(RepositoryActionContext <T, TKey> context) where T : class
 {
 }