コード例 #1
0
ファイル: PCService.cs プロジェクト: AnTTSE61258/NetCafeWeb
        public bool checkDeletePC(int pcID)
        {
            OrderRepository orderRepo = new OrderRepository();

            var orderList = orderRepo.getOrderByPCID(pcID);
            if (orderList.Count == 0)
            {
                return true;
            }

            return false;
        }