public async Task <ActionResult> EditMessage(string messageId, [FromBody, Bind("Text", "CatalogId", "Subject")] MessageViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            var message = _mapper.Map <Message>(model);

            await _catalogService.EditMessage(messageId, message);

            return(Ok(_mapper.Map <MessageViewModel>(message)));
        }