示例#1
0
        public string getCategoryNameBySubID(int sid)
        {
            int    categoryID   = uow.getSubCategoryRepo().getCategoryID(sid);
            string categoryName = uow.getCategoryRepo().getCategoryName(categoryID);

            return(categoryName);
        }
示例#2
0
 public IEnumerable <tblCategory> getAllCategories()
 {
     return(uow.getCategoryRepo().getAll());
 }
示例#3
0
 public void setCategoryName()
 {
     categoryName = uow.getCategoryRepo().getCategoryName(uow.getSubCategoryRepo().getCategoryID(products[0].ProductSubCategoryID));
 }