public async Task <IHttpActionResult> Get([FromODataUri] int key) { var iteration = await _iterationService.GetById(key); if (iteration == null) { throw ExceptionHelpers.ResourceNotFoundError(Request); } return(Ok(iteration)); }
public async Task <IHttpActionResult> Get([FromODataUri] int key) { var iteration = await _iterationService.GetById(key); if (iteration == null) { throw ExceptionHelpers.ResourceNotFoundError(Request); } return(Ok(iteration)); }