public async Task <ActionResult> Shop([FromForm] SlackCommandDto slackCommand) { try { var result = await _creditsCommands.Shop(slackCommand.ToCommand()); return(Ok(result.Message)); } catch (Exception ex) { return(Ok(string.Format(DougMessages.DougError, ex.Message))); } }
public async Task <ActionResult> Shop([FromForm] SlackCommandDto slackCommand) { var result = await _creditsCommands.Shop(slackCommand.ToCommand()); return(Ok(result.Message)); }