コード例 #1
0
        public JsonResult GetBusinessPartnerPax()
        {
            DropDownListsRepository model = new DropDownListsRepository();

            return Json(model.GetBusinessPartnerPax().OrderBy(o => o.Name).Select(c => new { TransferPaxID = c.ID, TransferPaxName = c.Name }).OrderBy(o => o.TransferPaxName), JsonRequestBehavior.AllowGet);
        }