예제 #1
0
        public async Task <IActionResult> DeviceId([FromBody] DeviceDto model)
        {
            var result = await _profileService.AddDevice(model.DeviceId, User);

            if (result == false)
            {
                return(BadRequest());
            }

            return(Ok());
        }