public List <ClothesType> GetClothesTypes(int TypeId = 0)
        {
            var s = bLLClothesType.GetClothesTypes();

            if (TypeId != 0)
            {
                s = s.Where(s => s.ClothesTypeId == TypeId).ToList();
                return(s);
            }
            return(s);
        }
Exemple #2
0
 public List <ClothesType> GetClothesTypes()
 {
     return(bLLClothesType.GetClothesTypes());
 }