Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. private static string ProcessInput(string text)
  2. {
  3. const string FirstSequenceResponseYes = "Sure, can you explain the issue? Do you see error message such as 'Power BI Access Tokens Not Allocated?'";
  4. const string FirstSequenceResponseNo = "Thanks, user. It's good to interact with you. Have a great day!";
  5.  
  6. switch (text)
  7. {
  8. case "yes":
  9. {
  10. return $"{FirstSequenceResponseYes}";
  11. }
  12.  
  13. case "no":
  14. {
  15. return $"{FirstSequenceResponseNo}";
  16. }
  17.  
  18. default:
  19. {
  20. return "Please select one of the suggested action choices.";
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement