Esempio n. 1
0
        public JsonResult LoadGenerateBusinessCarriersByTimespan(string startTime, string endTime)
        {
            string strErrText;
            DDSystem dd = new DDSystem();
            List<Carrier> listCarrier = dd.LoadGenerateBusinessCarriersByTimespan(startTime, endTime, LoginAccountId, LoginStaffName, out strErrText);
            if (listCarrier == null)
            {
                throw new Exception(strErrText);
            }

            var ret = from c in listCarrier
                      select c.Name;

            return Json(ret, JsonRequestBehavior.AllowGet);
        }