Exemplo n.º 1
0
        public IActionResult Simulator(PlaneFormViewModels obj)
        {
            var newPlane = _planeService.SetNewPlane(_planeService.GetPlane(obj.Plane));

            if (newPlane == null)
            {
                return(NotFound());
            }
            return(View(newPlane));
        }