コード例 #1
0
        void FillRides(string username)
        {
            BunchyServices   _BunchyServices = new BunchyServices();
            List <RideModel> _RideModel      = new List <RideModel>();

            _rideModels = _BunchyServices.GetBunches(username);
        }
コード例 #2
0
        List <RideModel> PopulateRides(string username)
        {
            BunchyServices   _BunchyServices = new BunchyServices();
            List <RideModel> _RideModel      = new List <RideModel>();

            _RideModel = _BunchyServices.GetBunches(username);
            return(_RideModel);
        }
コード例 #3
0
        RideDetailModel GetRideDetail(string id)
        {
            IEnumerable <Account> accounts  = AccountStore.Create(this).FindAccountsForService("google");
            Account         useraccount     = accounts.FirstOrDefault();
            BunchyServices  _BunchyServices = new BunchyServices();
            RideDetailModel _RideModel      = new RideDetailModel();

            _RideModel = _BunchyServices.GetRideDetails(id, useraccount.Username);
            return(_RideModel);
        }