Example #1
0
        public ActionResult EditDevice(string DeviceId)
        {
            List <DeviceMEdit_get_Result> DeviceResult = new List <DeviceMEdit_get_Result>();

            using (SecurityDBEntities entity = new SecurityDBEntities())
            {
                DeviceResult = entity.DeviceMEdit_get(Convert.ToInt32(DeviceId)).ToList();
            }
            return(Json(DeviceResult));
        }