コード例 #1
0
ファイル: RoomManger.cs プロジェクト: dellbeat/HotelManger
        public static List <string> GetRoomTypeList()
        {
            List <string>   list     = new List <string>();
            List <RoomType> roomtype = RoomTypeService.GetAllRoomType();

            foreach (RoomType i in roomtype)
            {
                list.Add(i.TypeName);
            }

            return(list);
        }
コード例 #2
0
ファイル: RoomTypeManager.cs プロジェクト: isMrH/College
 public static List <RoomType> GetAllRoomType()
 {
     return(RoomTypeService.GetAllRoomType());
 }