コード例 #1
0
        public List <FightAPI> GetAllFights()
        {
            List <FightAPI> list = new List <FightAPI>();

            BusinessLayer.BusinessManager bm = new BusinessLayer.BusinessManager();

            foreach (Fight fi in bm.GetAllFights())
            {
                list.Add(new FightAPI(fi));
            }

            return(list);
        }