Exemplo n.º 1
0
 public static void Delete <T>(this IPersistableRepository <T> repository, T item)
     where T : IAggregateRoot
 {
     repository.Save(null, null, new[] { item });
 }
Exemplo n.º 2
0
 public static void Insert <T>(this IPersistableRepository <T> repository, T item)
     where T : IAggregateRoot
 {
     repository.Save(new[] { item }, null, null);
 }