private static async void ExecuteOpenProfileCommand(object args) { if (args == null) { return; } string screenName = args.ToString(); ulong userid; if (ulong.TryParse(screenName, out userid)) { await ViewServices.ViewProfile(userid); } else { await ViewServices.ViewProfile(screenName); } }
private static async void ExecuteOpenProfileCommand(ulong args) { await ViewServices.ViewProfile(args); }