public IActionResult Delete(string id)
        {
            var chat = chatsService.Get(id);

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

            chatsService.Remove(chat.Id);

            return(NoContent());
        }