public IActionResult GetAmendments( [FromRoute][SwaggerParameter("The URN of the school requesting amendments", Required = true)] string urn, [FromRoute][SwaggerParameter("The checking window to request amendments from", Required = true)] CheckingWindow checkingWindow) { var amendments = _amendmentService .GetAmendments(checkingWindow, urn) .ToList(); var response = new GetResponse <List <Amendment> > { Result = amendments, Error = new Error() }; return(Ok(response)); }