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

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