public static string GetUserId(this CreateKudoCommand createKudoCommand) { return(createKudoCommand.GetUserInfo().TrimUserInfo().Split('|')[0]); }
private static string GetUserInfo(this CreateKudoCommand createKudoCommand) { return(createKudoCommand.Text.Split(' ')[1]); }