Exemplo n.º 1
0
        public string SelectPersonal(string stObj)
        {
            JObject     Jobj;
            clsPersonal objClsPersonal;

            try
            {
                Jobj           = JObject.Parse(stObj);
                objClsPersonal = new clsPersonal();
                return(JsonConvert.SerializeObject(objClsPersonal.ListarPersonal(Convert.ToInt32(Jobj["per_IDAreaServicio"]))));
            }
            catch (Exception ex)
            {
                return(ex.ToString());
            }
            finally
            {
                objClsPersonal = null;
            }
        }