Exemplo n.º 1
0
        public IActionResult Post([FromBody] BotRegistrationInput input)
        {
            var bot = storage.GetBot(input);

            if (bot != null)
            {
                return(StatusCode(409));
            }

            return(Ok(storage.AddBot(input)));
        }