private async void GetInfo() { var pharmacy = await _farmAppService.GetPharmacyAsync(PharmacyId); Name = pharmacy.Name; Address = pharmacy.Address; Schedule = pharmacy.Schedule; Phone = pharmacy.PhoneNumber; }
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}"); }