public ActionResult PlantillaTerminarIngreso(int pID)
        {
            string tipoDevol = null;
            object DataDevol = null;
            object jsonResponse;
            try
            {
                objPlantillaLogic = new PlantillaLogic();
                PlantillaEntity objPlantillaEntity = new PlantillaEntity
                {
                    Codigo = pID,
                    segUsuarioEdita = HttpContext.User.Identity.Name,
                    segUsuarioCrea = HttpContext.User.Identity.Name,
                    segMaquinaOrigen = GetIPAddress(),
                    codRegEstado = Convert.ToInt32(HelpRegEstado.Plantilla.TERMINADA_INGRESO)
                };
                returnValor = objPlantillaLogic.ActualizarPlantillaEstado(objPlantillaEntity);

                DataDevol = returnValor.Message;
                tipoDevol = returnValor.Exitosa ? "C" : "I";

            }
            catch (Exception ex)
            {
                tipoDevol = "E";
                log.Error(String.Concat("PlantillaTerminarIngreso", " | ", ex.Message));
                DataDevol = ex.Message;
            }
            finally
            {
                jsonResponse = new
                {
                    Type = tipoDevol,
                    Data = DataDevol,
                };
            }
            return Json(jsonResponse, JsonRequestBehavior.AllowGet);
        }