Exemplo n.º 1
0
 public override Task Reassign(int ownerId, Envelope[] outgoing)
 {
     return(_session.CreateCommand(_reassignSql)
            .With("owner", ownerId)
            .With("ids", outgoing)
            .ExecuteNonQueryAsync(_cancellation));
 }
Exemplo n.º 2
0
 public Task <Envelope[]> LoadPageOfLocallyOwned()
 {
     return(_session
            .CreateCommand(_findAtLargeEnvelopesSql)
            .ExecuteToEnvelopes(_cancellation));
 }