Esempio n. 1
0
        public IActionResult Details(int Id)
        {
            //var ACModel = _ACRepository.GetAircraftbyRegistration(reg);
            var ACModel = _ACRepository.GetAircraftbyID(Id);
            var model   = new HomeACModel()
            {
                aircraft = ACModel
            };

            return(View(model));
        }