Beispiel #1
0
        public async Task <IActionResult> Index()
        {
            var trajectories = await _trajectory.GetList();

            var ships = ToShipModel(trajectories);

            return(Json(new { Data = ships }));
        }