public static async void InsertNewDevice(Device d) { try { await device.InsertAsync(d); } catch (MobileServiceInvalidOperationException e) { Debug.WriteLine(e.Message); } }
public static async void UpdateDevice(Device d) { await device.UpdateAsync(d); }
public static async void DeleteDevice(Device d) { await device.DeleteAsync(d); }