public static async void InsertNewClinicInfo(ClinicInfo ci) { try { await clinicInfo.InsertAsync(ci); } catch (MobileServiceInvalidOperationException e) { Debug.WriteLine(e.Message); } }
public static async void UpdateUser(ClinicInfo ci) { await clinicInfo.UpdateAsync(ci); }
public static async void DeleteClinicInfo(ClinicInfo ci) { await clinicInfo.DeleteAsync(ci); }
private void RegisterClinic() { Ci = new ClinicInfo { ApplicationKey = String.Empty, ApplicationURL = String.Empty, Name = String.Empty, Phone = String.Empty, Email = String.Empty }; DisplayRegistrationForm = true; SignedIn = true; DisplayRegistrationColor = "Gray"; NotDisplayRegistrationForm = !DisplayRegistrationForm; }