예제 #1
0
        /// <summary>
        /// Carga los huespedes
        /// </summary>
        /// <history>
        /// [aalcocer] 24/02/2016 Created
        /// </history>
        private void LoadGrid()
        {
            StaStart("Loading guests...");

            _dtmServerdate     = BRHelpers.GetServerDate();
            _ltsGuestsMailOuts = BRGuests.GetGuestsMailOuts(Context.User.LeadSource.lsID, _dtmServerdate, _dtmServerdate.AddDays(1), _dtmServerdate.AddDays(2));

            List <ObjGuestsMailOuts> _ltsObjGuestsMailOuts = _ltsGuestsMailOuts.Select(parent => new ObjGuestsMailOuts(parent)).ToList();

            _objGuestsMailOutsViewSource.Source = _ltsObjGuestsMailOuts;
            dtgDatos.SelectedItem = null;
            StaEnd();
        }