예제 #1
0
        public static async void InsertNewClinicInfo(ClinicInfo ci)
        {
            try
            {
                await clinicInfo.InsertAsync(ci);
            }
            catch (MobileServiceInvalidOperationException e)
            {
                Debug.WriteLine(e.Message);
            }

        }
예제 #2
0
 public static async void UpdateUser(ClinicInfo ci)
 {
     await clinicInfo.UpdateAsync(ci);
 }
예제 #3
0
 public static async void DeleteClinicInfo(ClinicInfo ci)
 {
     await clinicInfo.DeleteAsync(ci);
 }
예제 #4
0
        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;

            
        }