public static async Task AckMessage(string chnId, string msgId) { try { await Task.Run(async() => { IChannelService channelservice = AuthenticatedRestFactory.GetChannelService(); await channelservice.AckMessage(chnId, msgId); }); } catch (Exception exception) { App.NavigateToBugReport(exception); } }