Exemplo n.º 1
0
 public async void OnUpdateCommand()
 {
     if (UpdateFacility.name.Length == 0 || string.IsNullOrEmpty(UpdateFacility.name))
     {
         await App.Current.MainPage.DisplayAlert("HMS", "Facility Name Required", "OK");
     }
     else
     {
         web.UpdateFacility(UpdateFacility);
     }
 }