public async Task <IActionResult> GetNews([FromQuery] int version = 0) { var features = await featuresService.GetFeaturesAsync(version); return(Ok(features)); }
public async Task <IActionResult> GetNews([FromQuery] int version = 0) { var features = await featuresService.GetFeaturesAsync(version, HttpContext.RequestAborted); return(Ok(features)); }