private bool IsChargedRoom(int roomId) { var cost = Costs.FirstOrDefault(x => x.RecordID == roomId); if (cost == null) { return(false); } var result = cost.AcctPer != "None"; return(result); }