/// <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)); }
/// <summary> /// 显示类别 /// </summary> /// <returns></returns> public CommTypeShowResponse TypeShow(CommTypeShowRequest request) { return(ApiRequestHelper.Post <CommTypeShowRequest, CommTypeShowResponse>(request)); }
public CommTypeShowResponse CommTypeShow(CommTypeShowRequest request) { return(CommodityBll.Instance.TypeShow(request)); }