Exemplo n.º 1
0
        public IActionResult Get(string message, string spyName)
        {
            if (!ControllerValidation.Parse(message, spyName))
            {
                return(StatusCode(400, "Bad Data: message and spyname must be populated."));
            }

            var response = _cipherService.Decode(message, spyName);

            return(StatusCode(response.StatusCode, response.Message));
        }