Exemple #1
0
 public async Task <IHttpActionResult> SearchCount(
     ODataQueryOptions <V1FeedPackage> options,
     [FromODataUri] string searchTerm      = "",
     [FromODataUri] string targetFramework = "")
 {
     return((await SearchAsync(
                 options,
                 searchTerm,
                 targetFramework,
                 _featureFlagService.IsODataV1SearchCountNonHijackedEnabled()))
            .FormattedAsCountResult <V1FeedPackage>());
 }