예제 #1
0
        public async Task <IEnumerable <CruiseLine> > Get()
        {
            var cl = await _cruiseRepository.GetAllItems();

            foreach (var item in cl)
            {
                item.Ships = await _shipRepository.GetAllItems(item.Nid);
            }
            return(cl);
        }