Exemplo n.º 1
0
        public static FechasBOEBL MapFechaUItoBL(FechasBOEUI fechaBL)
        {
            FechasBOEBL dt = new FechasBOEBL();

            dt.idCalendar = fechaBL.idCalendar;
            dt.fecha      = fechaBL.fecha;
            return(dt);
        }
Exemplo n.º 2
0
        public static FechasBOEUI MapFechaBLtoUI(FechasBOEBL fechaBL)
        {
            FechasBOEUI dt = new FechasBOEUI();

            dt.idCalendar = fechaBL.idCalendar;
            dt.fecha      = fechaBL.fecha;
            return(dt);
        }
Exemplo n.º 3
0
        private void btnMarcarDescargaBOE_Click(object sender, EventArgs e)
        {
            DateTime    dt    = calendarDescarga.SelectionRange.Start;
            FechasBOEUI fecha = new FechasBOEUI();

            fecha.fecha = dt;
            if (serv.saveFecha(Mapper.MapperFechasBOEUI.MapFechaUItoBL(fecha), out error))
            {
                CargarFechasBOE();
            }

            MessageBox.Show(error.mensaje);
        }