private void LoadDataForDeatiledServicesSelect()
        {
            if (Booths == null)
            {
                Booths = AvailableRentalItems.Where(a => a.Type == RentalItemType.PhotoBooth).ToList();
                //SelectedBooth = Booths.FirstOrDefault();
            }

            if (Backgrounds == null)
            {
                Backgrounds = AvailableRentalItems.Where(a => a.Type == RentalItemType.Background).ToList();
                //SelectedBackground = Backgrounds.FirstOrDefault();
            }

            if (Props == null)
            {
                Props = AvailableRentalItems.Where(a => a.Type == RentalItemType.Prop).ToList();
            }

            if (SelectedRentalItemTypes.Contains(RentalItemType.PhotoBooth))
            {
                BoothSelect = true;
            }
            if (SelectedRentalItemTypes.Contains(RentalItemType.Background))
            {
                BackgroundSelect = true;
            }
            if (SelectedRentalItemTypes.Contains(RentalItemType.Prop))
            {
                PropsSelect = true;
            }
        }
 public void SelectPackageBasedOnItemSelection()
 {
     SelectedPackage = Packages.FirstOrDefault(t =>
                                               t.RentalItemTypes.Count == SelectedRentalItemTypes.Count && t.RentalItemTypes.All(s => SelectedRentalItemTypes.Contains(s)) &&
                                               t.ProductIds.Count == SelectedProductIds.Count && t.ProductIds.All(s => SelectedProductIds.Contains(s)));
 }
 //when custom package is selected
 public void ClearProductSelection()
 {
     SelectedPackage = null;
     SelectedProductIds.Clear();
     SelectedRentalItemTypes.Clear();
 }