BaconographyPortable.Common.UtilityCommandImpl.GotoUserDetails C# (CSharp) Method

GotoUserDetails() public static method

public static GotoUserDetails ( string str ) : void
str string
return void
        public static async void GotoUserDetails(string str)
        {
            Messenger.Default.Send<LoadingMessage>(new LoadingMessage { Loading = true });
            var getAccount = await ServiceLocator.Current.GetInstance<IBaconProvider>().GetService<IRedditService>().GetAccountInfo(str);
            var accountMessage = new SelectUserAccountMessage { Account = getAccount };
            Messenger.Default.Send<LoadingMessage>(new LoadingMessage { Loading = false });
            ServiceLocator.Current.GetInstance<INavigationService>().Navigate(ServiceLocator.Current.GetInstance<IDynamicViewLocator>().AboutUserView,accountMessage);
        }