public JsonResult SetStartMessage(string id, string message)
        {
            if (string.IsNullOrEmpty(id))
            {
                return(Json(false));
            }
            if (string.IsNullOrEmpty(message))
            {
                return(Json(false));
            }

            var botDto = _botsRepository.SetStartMessage(id, message);

            return(botDto != null
                                ? Json(botDto.Transform())
                                : Json(false));
        }
        public async Task <RedirectResult> SetStartMessage(string id, string message)
        {
            _botsRepository.SetStartMessage(id, message);

            return(Redirect($"/bot?id={id}"));
        }