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

            foreach (Lot lot in Lots)
            {
                lot.History = null;
                lot.TellPersonsAboutStart = null;
            }
            return(Lots);
        }
Beispiel #2
0
        public List <Lot> NowLots()
        {
            try
            {
                //List<Lot> Lots = ClassWork.NowLots();

                //foreach (Lot lot in Lots)
                //{
                //    lot.WhoSale.Password = null;
                //    lot.History = null;
                //    lot.Tells = null;
                //    Log.Logger(lot.LotName);
                //}
                //return Lots;
                return(ClassWork.NowLots());
            }
            catch (Exception ex)
            {
                Log.Logger(ex.Message);
                return(null);
            }
        }