示例#1
0
        /// <summary>
        /// 显示类别
        /// </summary>
        /// <returns></returns>
        public CommTypeShowResponse TypeShow(CommTypeShowRequest request)
        {
            CommTypeShowResponse response = new CommTypeShowResponse();
            List <CommodityType> list     = new List <CommodityType>();

            list = dal.TypeShow();
            if (list.Count > 0)
            {
                response.CommodityTypesSuccess = list;
            }

            return(response);
        }
        /// <summary>
        /// 绑定下拉
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public JsonResult CommodityBindType(CommTypeShowRequest request)
        {
            var res = bll.TypeShow(request);

            return(Json(res));
        }
示例#3
0
 /// <summary>
 /// 显示类别
 /// </summary>
 /// <returns></returns>
 public CommTypeShowResponse TypeShow(CommTypeShowRequest request)
 {
     return(ApiRequestHelper.Post <CommTypeShowRequest, CommTypeShowResponse>(request));
 }
示例#4
0
 public CommTypeShowResponse CommTypeShow(CommTypeShowRequest request)
 {
     return(CommodityBll.Instance.TypeShow(request));
 }