public async void updatetoken(CustomerResponse cr) { try { if (CurrentUser.GetDeviceToken() != null) { ServiceWrapper svc = new ServiceWrapper(); await svc.InsertUpdateToken(CurrentUser.GetDeviceToken(), cr.customer.CustomerID.ToString()); } } catch (Exception ex) { LoggingClass.LogError(ex.Message, screenid, ex.StackTrace); } }