public IActionResult Dijkstra([FromBody] int[][] graph) { var result = _sortService.Dijkstra(graph); return(Ok(result)); }