Example #1
0
        private async void GetInfo()
        {
            var pharmacy = await _farmAppService.GetPharmacyAsync(PharmacyId);

            Name     = pharmacy.Name;
            Address  = pharmacy.Address;
            Schedule = pharmacy.Schedule;
            Phone    = pharmacy.PhoneNumber;
        }
Example #2
0
        public async Task <string> GetLink()
        {
            Pharmacy pharmacy = await _farmAppService.GetPharmacyAsync(PharmacyId);

            return($"https://www.google.com/maps/search/?api=1&query={pharmacy.Longitude},{pharmacy.Latitude}");
        }