예제 #1
0
        public static async void InsertNewDevice(Device d)
        {
            try
            {
                await device.InsertAsync(d);
            }
            catch (MobileServiceInvalidOperationException e)
            {
                Debug.WriteLine(e.Message);
            }

        }
예제 #2
0
 public static async void UpdateDevice(Device d)
 {
     await device.UpdateAsync(d);
 }
예제 #3
0
 public static async void DeleteDevice(Device d)
 {
     await device.DeleteAsync(d);
 }