コード例 #1
0
        public ActionResult GetPurchaserList()
        {
            var model = createModel();
            var list  = PurchasingService.FindPurchasersListItemModel(model.CurrentCompany);

            list.Insert(0, new ListItemModel {
                Id = "0", Text = EvolutionResources.lblNone
            });
            return(Json(list, JsonRequestBehavior.AllowGet));
        }