public ActionResult AddUpdate(ViewModel input)
        {
            //TODO if file doesn't exist, send back "file doesn't exist notification
            //get current setting value

            string suiteStatus = getSuiteStatus();

            var suiteOnlineStatusTypes =
                _selectListItemService.CreateList(SuiteOnlineStatusType.GetAll<SuiteOnlineStatusType>(),
                                                  z => z.Key,
                                                  z => z.Key,
                                                  false);
            var model = new SiteConfigurationViewModel
                            {
                                Title = WebLocalizationKeys.SITE_CONFIGURATION.ToString(),
                                SuiteOnlineStatusType = suiteStatus,
                                SuiteConfigFile = _configFilePath,
                                SuiteSiteFullPath = _suiteWebsiteFullPath,

                                SuiteOnlineStatusTypeList = suiteOnlineStatusTypes

                                //TODO ...show other settings as Readonly
                            };

            return View(model);
        }
        public JsonResult Save(SiteConfigurationViewModel input)
        {
            var suiteOnlineStatus = input.SuiteOnlineStatusType.ToUpper();

            Notification notification = new Notification();

            switch (suiteOnlineStatus)
            {
                case "OFFLINE":
                    //SuiteOnlineStatusType.Offline
                    
                    var copyResult = disableSuiteWebsite();
                    if (copyResult  != "")
                    {
                        notification.Success = false;
                        notification.Message = copyResult;
                    }
                    else
                    {
                        setAppSettingsKeyValue(_configFilePath, "Suite.OnlineStatus", suiteOnlineStatus);
                        notification.Success = true;
                        notification.Message = "Suite Website Status Changed to : " + suiteOnlineStatus;
                    }
                    
                    break;

                case "TESTING":
                    //SuiteOnlineStatusType.Testing
                    var deleteResult= removeAppOfflineFile();
                    if(deleteResult != "")
                    {
                        notification.Success = false;
                        notification.Message = deleteResult;
                    }
                    else
                    {
                        setAppSettingsKeyValue(_configFilePath, "Suite.OnlineStatus", suiteOnlineStatus);
                        notification.Success = true;
                        notification.Message = "Suite Website Status Changed to: " + suiteOnlineStatus;    
                    }
                    break;

                default:
                    //assume ONLINE
                    suiteOnlineStatus = "ONLINE";

                    var deleteResult2= removeAppOfflineFile();
                    if (deleteResult2 != "")
                    {
                        notification.Success = false;
                        notification.Message = deleteResult2;
                    }
                    else
                    {
                        setAppSettingsKeyValue(_configFilePath, "Suite.OnlineStatus", suiteOnlineStatus);
                        notification.Success = true;
                        notification.Message = "Suite Website Status Changed to: " + suiteOnlineStatus;
                    }
                    
                    //TODO: add requesting URL to "Retry" link
                    
                    break;
            }

            return Json(notification);
        }