public IActionResult Update(string id, Chat ChatIn)
        {
            var chat = chatsService.Get(id);

            if (chat == null)
            {
                return(NotFound());
            }

            chatsService.Update(id, ChatIn);
            chat = chatsService.Get(id);

            return(CreatedAtRoute("GetChat", chat));
        }