Exemplo n.º 1
0
 protected Delivery(int i)
 {
     db        = new flowersEntities();
     OrderList = db.Order_Del.Where(d => d.Date_Delived.Value.Year == DateTime.Now.Year &&
                                    d.Date_Delived.Value.Month == DateTime.Now.Month &&
                                    d.Date_Delived.Value.Day == DateTime.Now.Day).ToList();
     GetDrivers();
 }
Exemplo n.º 2
0
        public CallCenter()
        {
            db         = new flowersEntities();
            Quantities = new List <int>();
            Sizes      = new List <string>();
            for (int i = 1; i < 11; i++)
            {
                Quantities.Add(i);
            }

            Sizes.Add("S");
            Sizes.Add("M");
            Sizes.Add("L");
            DateDelivery = DateTime.Today;
        }