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); }
public List <ClothesType> GetClothesTypes() { return(bLLClothesType.GetClothesTypes()); }