public async Task <IHttpActionResult> Post(DefaultDevicePostDto dto) { _api.DefaultDeviceId = dto.DeviceId; await _api.UpdateDevice(new DevicesPostDto { Device_Id = dto.DeviceId, Play = true }); _api.SaveSession(); return(Ok("Success")); }