/// <summary> /// 显示颜色 /// </summary> /// <returns></returns> public CommColorShowResponse ColorShow(CommColorShowRequest request) { CommColorShowResponse response = new CommColorShowResponse(); List <CommodityColor> list = new List <CommodityColor>(); list = dal.ColorShow(); if (list.Count > 0) { response.ColorInfo = list; } return(response); }
/// <summary> /// 绑定颜色 /// </summary> /// <returns></returns> public JsonResult CommodityBindColor(CommColorShowRequest request) { var res = bll.ColorShow(request); return(Json(res)); }
/// <summary> /// 显示颜色 /// </summary> /// <returns></returns> public CommColorShowResponse ColorShow(CommColorShowRequest request) { return(ApiRequestHelper.Post <CommColorShowRequest, CommColorShowResponse>(request)); }
public CommColorShowResponse ShowColor(CommColorShowRequest request) { return(CommodityBll.Instance.ColorShow(request)); }