public async Task <ActionResult <Thread> > PostThread([FromBody] Thread model)
        {
            try
            {
                var thread = await _threadService.CreateThread(model);

                return(CreatedAtAction("GetThread", new { id = thread.ThreadID }, thread));
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }
        }