/// <summary>
        /// Descripción: Metodo que registra la plantilla
        /// Author: Terceros.
        /// Fecha Creacion: 01/01/2017
        /// Fecha Modificación: 02/02/2017.
        /// Modificación: Se agregaron comentarios.
        /// </summary>
        /// <param name="plantilla"></param>
        public void InsertPlantilla(Model.Plantilla plantilla)
        {
            var objCommand = GetSqlCommand("pNLI_Plantilla");

            InputParameterAdd.Varchar(objCommand, "nombre", plantilla.Nombre);
            InputParameterAdd.Varchar(objCommand, "descripcion", plantilla.Descripcion);
            InputParameterAdd.Int(objCommand, "idTipo", plantilla.IdTipo);
            InputParameterAdd.Int(objCommand, "idUsuarioRegistro", plantilla.IdUsuarioRegistro);

            ExecuteNonQuery(objCommand);
        }
        /// <summary>
        /// Descripción: Metodo que actualiza registro de una plantilla.
        /// Author: Terceros.
        /// Fecha Creacion: 01/01/2017
        /// Fecha Modificación: 02/02/2017.
        /// Modificación: Se agregaron comentarios.
        /// </summary>
        /// <param name="plantilla"></param>
        public void UpdatePlantilla(Model.Plantilla plantilla)
        {
            var objCommand = GetSqlCommand("pNLU_Plantilla");

            InputParameterAdd.Int(objCommand, "idPlantilla", plantilla.IdPlantilla);
            InputParameterAdd.Varchar(objCommand, "nombre", plantilla.Nombre);
            InputParameterAdd.Varchar(objCommand, "descripcion", plantilla.Descripcion);
            InputParameterAdd.Int(objCommand, "idTipo", plantilla.IdTipo);
            InputParameterAdd.Int(objCommand, "idUsuarioEdicion", plantilla.IdUsuarioEdicion);
            InputParameterAdd.Int(objCommand, "estado", plantilla.Estado);

            ExecuteNonQuery(objCommand);
        }