Example #1
0
 private DeleteRecordResponse BuildResponse(Json.DeleteRecordResponse recordDeleteResult)
 {
     return(new DeleteRecordResponse(recordDeleteResult.DeletedIds.Select((ids, resource) => new KeyValuePair <ResourceId, IEnumerable <long> >((ResourceId)resource, ids))));
 }
 private DeleteRecordResponse BuildResponse(Json.DeleteRecordResponse recordDeleteResult, List <ResourceId> recordIdOrder)
 {
     return(new DeleteRecordResponse(recordDeleteResult.DeletedIds.Select((ids, resource) => new KeyValuePair <ResourceId, IEnumerable <ulong> >(recordIdOrder[resource], ids))));
 }