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