Example #1
0
        public Klubum PrepareData()
        {
            //MUSTERI KLUP BILGILERI
            try
            {
                CustomerClubsQuery CustomerClubsQueryObj = WebServiceLoader.CustomerClubsQuery();

                if (CustomerClubsQueryObj == null)
                {
                    return(Data);
                }

                Clubs clubInfo;
                foreach (var item in CustomerClubsQueryObj.ClubList.ToList())
                {
                    clubInfo = new Clubs
                    {
                        Club = item.Club,
                        Rank = item.Rank
                    };

                    Data.Clubs.Add(clubInfo);
                }

                return(Data);
            }
            catch (Exception)
            {
                return(null);
            }
        }
Example #2
0
        public HatOzetim PrepareData()
        {
            //TARİFE BİLGİLERİ
            try
            {
                TariffQueryResponse TarifQueryObj = WebServiceLoader.TariffQuery();

                Data.AdvPackName = TarifQueryObj.TariffQuery.AdvPackName;
                Data.TariffDesc  = TarifQueryObj.TariffQuery.TariffDesc;

                return(Data);
            }
            catch (Exception)
            {
                return(null);
            }
        }