Exemplo n.º 1
0
        public FragmentRoute SelectVariation(int id)
        {
            Variation selectedVariation = Database.GetVariation(id);

            if (selectedVariation.HasVariations())
            {
                return(FragmentRoute.Variations);
            }
            else if (selectedVariation.HasComponents())
            {
                return(FragmentRoute.Components);
            }
            else
            {
                return(FragmentRoute.None);
            }
        }