public void DeleteId(Guid id) { SynchronousTask.DoSync(() => { this.repository.DeleteId(id); }); }
public void Delete(T instance) { SynchronousTask.DoSync(() => { this.repository.Delete(instance); }); }