Esempio n. 1
0
        public async Task <ActionResult> CleanSlurs([FromForm] SlackCommandDto slackCommand)
        {
            try
            {
                var result = await _slursCommands.Clean(slackCommand.ToCommand());

                return(Ok(result.Message));
            }
            catch (Exception ex)
            {
                return(Ok(string.Format(DougMessages.DougError, ex.Message)));
            }
        }
Esempio n. 2
0
        public async Task <ActionResult> CleanSlurs([FromForm] SlackCommandDto slackCommand)
        {
            var result = await _slursCommands.Clean(slackCommand.ToCommand());

            return(Ok(result.Message));
        }