示例#1
0
 public void DeleteId(Guid id)
 {
     SynchronousTask.DoSync(() => {
         this.repository.DeleteId(id);
     });
 }
示例#2
0
 public void Delete(T instance)
 {
     SynchronousTask.DoSync(() => {
         this.repository.Delete(instance);
     });
 }