private async Task <object> QueryCollection(SimpleContext context, Match match) { var parameters = context.GetQueryParameters(); var collection = match.Groups["collection"].Value; context.ViewBag["Title"] = collection; var result = await _options.DataStore.QueryCollection(collection, parameters).ConfigureAwait(false); return(result); }