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