コード例 #1
0
        public ActionResult GetUser(int orderId)
        {
            var lst   = _userAPI.FindByName("");
            var order = _api.GetStorageWarehousingItem(orderId);

            foreach (var item in lst.Where(item => order.Users.Any(m => m.UserId == item.UserId)))
            {
                item.IsActive = true;
            }

            return(View(lst));
        }
コード例 #2
0
        public ActionResult FindUser(string name)
        {
            var lst = _dnUserApi.FindByName(name);

            return(Json(lst, JsonRequestBehavior.AllowGet));
        }