public async void DeleteMeasurment() { MeasurementsViewM.MeasurementsOC.Remove(MeasurementsViewM.SelectedMeasurment); MeasurmentWebApi = new WebAPIAsync <Measurement>(ServerUrl, ApiPrefix, MeasurmentsApiId); await MeasurmentWebApi.Delete(MeasurementsViewM.SelectedMeasurment.MeasurementId); }
public async void DeleteMessage(Message mes) { await WebApi.Delete(mes.MessageId); }