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

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