public async Task <IActionResult> DeviceId([FromBody] DeviceDto model) { var result = await _profileService.AddDevice(model.DeviceId, User); if (result == false) { return(BadRequest()); } return(Ok()); }