public async Task <IActionResult> Device_Destroy([DataSourceRequest] DataSourceRequest request, ExExtendedUserDeviceInfo device) { RestAccess ra = new RestAccess(Constants.ServiceClientEndPointWithApiPrefix); ExPostUserDeviceDelete model = new ExPostUserDeviceDelete(); model.UserId = device.UserId; model.DeviceToken = device.DeviceToken; model.Plattform = device.Plattform; model.CheckPassword = WebAppSettings.CheckPassword; var res = await ra.UserDeviceDeleteWeb(model); return(Json(true)); }