//partialview used to show data of database public PartialViewResult ProductColorDetails() { return(PartialView(obj.GetAll())); }
/// <summary> /// 查询所有 /// </summary> /// <returns></returns> public static List <ProductColor> GetAll() { return(ProductColorDAL.GetAll()); }