public IActionResult Get([FromQuery] int lowerbound, [FromQuery] int upperbound) { var timedProcess = new TimedProcess <IEnumerable <Product> >(); timedProcess.StartTimer(); var result = _reader.GetProductsBetweenPriceRange(lowerbound, upperbound); timedProcess.StopTimer(); timedProcess.Result = result; return(Ok(timedProcess)); }