public async Task <IActionResult> FindShortestPath([FromQuery] ContractInputModel model) { return(Ok(await _service.FindShortestPath(model))); }
private List <ContractPartViewModel> FindShortestPath(ContractInputModel model) { return(Service.FindShortestPath(model).GetAwaiter().GetResult()); }