/// <summary>
        /// Registrar el evento.
        /// </summary>
        /// <param name="evento">The evento.</param>
        private void GuardarEvento(Reunion evento)
        {
            objBLAgenda = new BLAgendaActividades(propAgenda);
            objBLAgenda.GetById();
            objBLAgenda.VerificarAgendaReuniones(evento);

            objBLAgenda.Data.listaReuniones.Add(evento);
            objBLAgenda.Save();
        }
 /// <summary>
 /// Cargars the entidad.
 /// </summary>
 private void CargarValoresEnPantalla(int idAgendaActividad)
 {
     BLAgendaActividades objBLAgenda = new BLAgendaActividades(new AgendaActividades() { idAgendaActividad = idAgendaActividad });
     objBLAgenda.GetById();
     propAgenda = objBLAgenda.Data;
 }
        /// <summary>
        /// Guardars the agenda.
        /// </summary>
        /// <param name="entidad">The entidad.</param>
        private void GuardarEntidad(EventoAgenda entidad)
        {
            objBLAgenda = new BLAgendaActividades(propAgenda);
            objBLAgenda.GetById();

            int idAsignatura = Convert.ToInt32(ddlAsignaturaEdit.SelectedValue);

            entidad.tipoEventoAgenda.idTipoEventoAgenda = (int)enumEventoAgendaType.ClaseDiaria;
            if (objBLAgenda.VerificarAgenda(entidad, idAsignatura))
            {
                objBLAgenda.Data.listaRegistroClases.Add((RegistroClases)entidad);
                objBLAgenda.Save();
            }
        }
        /// <summary>
        /// Guardars the agenda.
        /// </summary>
        /// <param name="entidad">The entidad.</param>
        private void GuardarEntidad(EventoAgenda entidad)
        {
            objBLAgenda = new BLAgendaActividades(propAgenda);
            objBLAgenda.GetById();

            int idAsignatura = Convert.ToInt32(ddlAsignaturaEdit.SelectedValue);

            entidad.tipoEventoAgenda.idTipoEventoAgenda = (int)enumEventoAgendaType.Evaluacion;
            if (objBLAgenda.VerificarAgendaExcursion(entidad) && objBLAgenda.VerificarAgendaEvaluacion(entidad, idAsignatura))
            {
                objBLAgenda.Data.listaEvaluaciones.Add((Evaluacion)entidad);
                objBLAgenda.Save();
            }
        }
 /// <summary>
 /// Registrar el evento.
 /// </summary>
 /// <param name="evento">The evento.</param>
 private void GuardarEvento(EventoAgenda evento)
 {
     objBLAgenda = new BLAgendaActividades(propAgenda);
     objBLAgenda.GetById();
     evento.tipoEventoAgenda.idTipoEventoAgenda = (int)enumEventoAgendaType.Excursion;
     if (objBLAgenda.VerificarAgendaExcursion(evento) && objBLAgenda.VerificarAgendaEvaluacion(evento,0))
     {
         objBLAgenda.Data.listaExcursiones.Add((Excursion)evento);
         objBLAgenda.Save();
     }
 }
 /// <summary>
 /// Cargars the entidad.
 /// </summary>
 private void CargarValoresEnPantalla(int idCursoCicloLectivo)
 {
     BLAgendaActividades objBLAgenda = new BLAgendaActividades(new AgendaActividades() { cursoCicloLectivo = new CursoCicloLectivo() { idCursoCicloLectivo = idCursoCicloLectivo } });
     objBLAgenda.GetById();
     propAgenda = objBLAgenda.Data;
     novControl.visible = false;
     idCursoCicloLectivo = propAgenda.cursoCicloLectivo.idCursoCicloLectivo;
 }