public async void SendRegistrationToAppServer(string token) { TokenModel _token = new TokenModel() { User_id = Convert.ToInt32(CurrentUser.getUserId()), DeviceToken = token, DeviceType = 1 }; LoggingClass.LogInfoEx("Token sent to db", screenid); int x = await svc.InsertUpdateToken1(_token); }