Exemple #1
0
        public FuelDeliveryObjectCollection GetFilter(DateTime dateFromDelivery, DateTime dateToDelivery)
        {
            FuelDeliveryObjectCollection fuelDeliverys;

            try
            {
                fuelDeliverys = new FuelDeliveryDataService().GetFilter(dateFromDelivery, dateToDelivery);
            }
            catch (System.Exception exception1)
            {
                System.Exception innerException = exception1;
                throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
            }
            return(fuelDeliverys);
        }
Exemple #2
0
        public FuelDeliveryObjectCollection GetAllNotZero()
        {
            FuelDeliveryObjectCollection fuelDeliverys;

            try
            {
                fuelDeliverys = new FuelDeliveryDataService().GetAllNotZero();
            }
            catch (System.Exception exception1)
            {
                System.Exception innerException = exception1;
                throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
            }
            return(fuelDeliverys);
        }