internal static async Task<ElasticReminderEntry> Get(ElasticClient elastic, GrainReference grainRef, string reminderName) { var op = await elastic.GetAsync<ElasticReminderEntry>(CreateIdFrom(grainRef, reminderName)); if (op.IsValid) { op.Source.ETag = op.Version; return op.Source; } else throw new ElasticsearchStorageException(); }