public IViewComponentResult Invoke()
        {
            var model = new AppNameVM
            {
                AppName = _config.GetValue <string>("AppName")
            };

            return(View(model));
        }
        private void ChangeModalState(string appName)
        {
            var data = new AppNameVM()
            {
                appName = appName
            };

            _dispatcher.Dispatch(new ModalPageChangeAction(data));
        }
 public ModalPageChangeAction(AppNameVM appName)
 {
     AppName = appName;
 }
 public ModalState(AppNameVM appName)
 {
     _appName = appName ?? new AppNameVM();
 }