public async Task <IActionResult> DisplayById(int id)
        {
            var message = await _service.GetMessageAsync(id);

            if (message == null)
            {
                return(HttpNotFound());
            }

            return(View("DisplaySingle", message));
        }
        public async Task <IActionResult> DisplayById(int id)
        {
            var messages = await _service.GetMessageAsync(id);

            return(View(messages));
        }