Exemple #1
0
        public List <Lot> OldLots()
        {
            List <Lot> Lots = ClassWork.OldLots();

            foreach (Lot lot in Lots)
            {
                lot.History = null;
                lot.TellPersonsAboutStart = null;
            }
            return(Lots);
        }
Exemple #2
0
        public List <Lot> OldLots()
        {
            try
            {
                //List<Lot> Lots = ClassWork.OldLots();
                //foreach (Lot lot in Lots)
                //{
                //    lot.WhoSale.Password = null;
                //    lot.History = null;
                //    lot.Tells = null;
                //    Log.Logger(lot.LotName);
                //}
                //return Lots;

                return(ClassWork.OldLots());
            }
            catch (Exception ex)
            {
                Log.Logger(ex.Message);
                return(null);
            }
        }