private void setVetWorkingHours()
        {
            string workingHours = "";

            if (vet.WorkingDaysAndHours != null)
            {
                IList <object> list = vet.WorkingDaysAndHours.ToList();
                Dictionary <string, string> dictionary = VetHelper.getDictionary(list[0]);

                if (dictionary["allDay"] != null)
                {
                    if (dictionary["allDay"] == "True")
                    {
                        workingHours = "7 / 24 Açık";
                    }

                    else
                    {
                        var addTime = DateTime.Parse("1.01.2000 04:00:00").ToUniversalTime().TimeOfDay;

                        if (dictionary["workingOpenHour"] != null || dictionary["workingCloseHour"] != null)
                        {
                            var openTime  = DateTime.Parse(dictionary["workingOpenHour"]).ToUniversalTime().TimeOfDay + addTime;
                            var closeTime = DateTime.Parse(dictionary["workingCloseHour"]).ToUniversalTime().TimeOfDay + addTime;

                            workingHours += "Hafta içi : " + openTime.ToString(@"hh\:mm") + "'dan " + closeTime.ToString(@"hh\:mm") + "'a kadar açıktır.\n";
                        }

                        if (dictionary.ContainsKey("saturday") && dictionary["saturday"] == "True")
                        {
                            var openTime  = DateTime.Parse(dictionary["saturdayOpenHour"]).ToUniversalTime().TimeOfDay + addTime;
                            var closeTime = DateTime.Parse(dictionary["saturdayCloseHour"]).ToUniversalTime().TimeOfDay + addTime;

                            workingHours += "Cumartesi : " + openTime.ToString(@"hh\:mm") + "'dan " + closeTime.ToString(@"hh\:mm") + "'a kadar açıktır.\n";
                        }

                        if (dictionary.ContainsKey("sunday") && dictionary["sunday"] == "True")
                        {
                            var openTime  = DateTime.Parse(dictionary["sundayOpenHour"]).ToUniversalTime().TimeOfDay + addTime;
                            var closeTime = DateTime.Parse(dictionary["sundayCloseHour"]).ToUniversalTime().TimeOfDay + addTime;

                            workingHours += "Pazar : " + openTime.ToString(@"hh\:mm") + "'dan " + closeTime.ToString(@"hh\:mm") + "'a kadar açıktır.\n";
                        }
                    }
                }

                workingHourTextBlock.Text = workingHours;
            }

            else
            {
                workingHourTextBlock.Text = "Bilinmiyor";
            }
        }
        public async Task <List <VetModel> > GetVetsInCity(string city)
        {
            List <VetModel> list = new List <VetModel>();

            try
            {
                var query = ParseObject.GetQuery("UserVets").WhereEqualTo("city", city);

                var final = await query.FindAsync();

                foreach (ParseObject obj in final)
                {
                    var model = new VetModel()
                    {
                        Address             = (obj.ContainsKey("address") == true) ? obj.Get <string>("address") : null,
                        CellNumber          = (obj.ContainsKey("cellNumber") == true) ? obj.Get <string>("cellNumber") : null,
                        City                = (obj.ContainsKey("city") == true) ? obj.Get <string>("city") : null,
                        Town                = (obj.ContainsKey("town") == true) ? obj.Get <string>("town") : null,
                        Email               = (obj.ContainsKey("email") == true) ? obj.Get <string>("email") : null,
                        FacebookPage        = (obj.ContainsKey("facebookPage") == true) ? obj.Get <string>("facebookPage") : null,
                        InstagramAccount    = (obj.ContainsKey("instagramAccount") == true) ? obj.Get <string>("instagramAccount") : null,
                        TwitterAccount      = (obj.ContainsKey("twitterAccount") == true) ? obj.Get <string>("twitterAccount") : null,
                        WebAddress          = (obj.ContainsKey("webAddress") == true) ? obj.Get <string>("webAddress") : null,
                        webURLAddress       = (obj.ContainsKey("webURLAddress") == true) ? obj.Get <string>("webURLAddress") : null,
                        IsActive            = (obj.ContainsKey("isActive") == true) ? obj.Get <bool>("isActive") : false,
                        IsConfirmed         = (obj.ContainsKey("isConfirmed") == true) ? obj.Get <bool>("isConfirmed") : false,
                        IsMember            = (obj.ContainsKey("isMember") == true) ? obj.Get <bool>("isMember") : false,
                        IsNew               = (obj.ContainsKey("isNew") == true) ? obj.Get <bool>("isNew") : false,
                        Location            = obj.Get <ParseGeoPoint>("location"),
                        Name                = (obj.ContainsKey("name") == true) ? obj.Get <string>("name") : null,
                        PhoneNumber         = (obj.ContainsKey("phoneNumber") == true) ? obj.Get <string>("phoneNumber") : null,
                        Services            = (obj.ContainsKey("services") == true) ? (IList <object>)obj.Get <object>("services") : null,
                        WorkingDaysAndHours = (obj.ContainsKey("workingDaysAndHours") == true) ? (IList <object>)obj.Get <object>("workingDaysAndHours") : null,
                        Logo                = (obj.ContainsKey("logo") == true) ? obj.Get <ParseFile>("logo").Url.AbsoluteUri : "ms-appx:///Assets/Logos/flyoutLogo.png",
                        Images              = (obj.ContainsKey("images") == true) ? (IList <object>)obj.Get <object>("images") : null
                    };

                    model.Color  = VetHelper.setColor(model);
                    model.Status = VetHelper.setStatus(model);
                    model.MapPin = "ms-appx:///Assets/MapPins/" + model.Color + ".png";
                    model.Style  = VetHelper.setStyle(model);

                    list.Add(model);
                }

                return(list);
            }

            catch (Exception)
            {
                return(list);
            }
        }