// GET aicraft/index/searchReg?
        public async Task <IActionResult> Index(string searchReg)
        {
            var aircraft = new List <Aircraft>();

            if (!String.IsNullOrEmpty(searchReg))
            {
                aircraft = await _aircraftRepository.GetList(searchReg.ToUpper());
            }
            else
            {
                aircraft = await _aircraftRepository.GetListAll();
            }
            return(View(aircraft));
        }