コード例 #1
0
        /// <summary>
        /// [Tam.Le] - 8.4.2014 - Lấy dữ liệu Marker theo Line Id
        /// </summary>
        /// <param name="request"></param>
        /// <param name="model"></param>
        /// <returns></returns>
        public JsonResult GetMarkerCascading(int lineId)
        {
            var    baseServices = new ActionService(UserLogin);
            var    result       = new List <Lau_MarkerModel>();
            string status       = string.Empty;

            if (lineId > 0)
            {
                var service = new Lau_MarkerServices();
                result = baseServices.GetData <Lau_MarkerModel>(lineId, ConstantSql.hrm_lau_sp_get_MarkerByLineId, ref status);
            }
            return(Json(result, JsonRequestBehavior.AllowGet));
        }
コード例 #2
0
ファイル: Lau_GetDataController.cs プロジェクト: dtafe/vnr
 /// <summary>
 /// [Tam.Le] - 8.4.2014 - Lấy dữ liệu Marker theo Line Id
 /// </summary>
 /// <param name="request"></param>
 /// <param name="model"></param>
 /// <returns></returns>
 public JsonResult GetMarkerCascading(int lineId)
 {
     var baseServices = new ActionService(UserLogin);
     var result = new List<Lau_MarkerModel>();
     string status = string.Empty;
     if (lineId > 0)
     {
         var service = new Lau_MarkerServices();
         result = baseServices.GetData<Lau_MarkerModel>(lineId, ConstantSql.hrm_lau_sp_get_MarkerByLineId, ref status);
     }
     return Json(result, JsonRequestBehavior.AllowGet);
 }