コード例 #1
0
        List <Delivery> IDeliveryService.RefreshAll()
        {
            List <Delivery> deliveries = _remoteHandler.GetAll();

            if (deliveries != null && deliveries.Count > 0)
            {
                _dbHandler.DeleteAll();
                _dbHandler.Add(deliveries);
            }
            return(deliveries);
        }