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