Esempio n. 1
0
        protected static IEnumerable <SelectListItem> CreateSelectListFlights(IFlightsRepository f)
        {
            var items = f.Get().GetAwaiter().GetResult();

            return(items.Select(m => new SelectListItem(m.Data.Plane, m.Data.Plane)).ToList());
        }