public Respuesta AlmacenarAsistente(Asistente prmasistente)
        {
            Respuesta data = new Respuesta();

            try
            {
                ControlCovid.Models.DAL.DataAccessLayer dataAccessLayer = new DAL.DataAccessLayer();
                int idServicioJueves = 26;
                int idDiscipulado    = 33;

                if (prmasistente.IdServicio == idDiscipulado.ToString())
                {
                    prmasistente.SegundoApellido = String.IsNullOrEmpty(prmasistente.SegundoApellido) ? String.Empty : prmasistente.SegundoApellido;
                    prmasistente.SegundoNombre   = String.IsNullOrEmpty(prmasistente.SegundoNombre) ? String.Empty : prmasistente.SegundoNombre;
                    prmasistente.FechaServicio   = Convert.ToInt32(prmasistente.IdServicio) == idDiscipulado?ControlCovid.Models.BLL.ValidacionesBLL.ProximoServicio(DateTime.Now, DayOfWeek.Tuesday) : ControlCovid.Models.BLL.ValidacionesBLL.ProximoServicio(DateTime.Now, DayOfWeek.Sunday);

                    data.Mensaje  = dataAccessLayer.AlmacenarAsistente(prmasistente);
                    data.Existosa = true;
                }
                else
                {
                    prmasistente.SegundoApellido = String.IsNullOrEmpty(prmasistente.SegundoApellido) ? String.Empty : prmasistente.SegundoApellido;
                    prmasistente.SegundoNombre   = String.IsNullOrEmpty(prmasistente.SegundoNombre) ? String.Empty : prmasistente.SegundoNombre;
                    prmasistente.FechaServicio   = Convert.ToInt32(prmasistente.IdServicio) == idServicioJueves?ControlCovid.Models.BLL.ValidacionesBLL.ProximoServicio(DateTime.Now, DayOfWeek.Thursday) : ControlCovid.Models.BLL.ValidacionesBLL.ProximoServicio(DateTime.Now, DayOfWeek.Sunday);

                    data.Mensaje  = dataAccessLayer.AlmacenarAsistente(prmasistente);
                    data.Existosa = true;
                }
            }
            catch (Exception ex)
            {
                data.Mensaje  = ex.Message;
                data.Existosa = false;
            }
            return(data);
        }