// Token: 0x060001EA RID: 490 RVA: 0x00012AC0 File Offset: 0x00010CC0
        private PreFormActionResponse ExecuteCreateAction()
        {
            string        formParameter = Utilities.GetFormParameter(this.httpRequest, "nnfc", true);
            StoreObjectId destinationId;
            string        folderClass;

            switch (this.module)
            {
            case NavigationModule.Mail:
                destinationId = RequestParser.GetStoreObjectId(this.httpRequest, "ftci", true, ParameterIn.Form);
                folderClass   = "IPF.Note";
                break;

            case NavigationModule.Calendar:
                destinationId = this.userContext.CalendarFolderId;
                folderClass   = "IPF.Appointment";
                break;

            case NavigationModule.Contacts:
                destinationId = this.userContext.ContactsFolderId;
                folderClass   = "IPF.Contact";
                break;

            default:
                throw new OwaInvalidRequestException("Invalid request for folder management preformaction");
            }
            this.folderManagementHelper.Create(destinationId, folderClass, formParameter);
            return(new PreFormActionResponse());
        }
        // Token: 0x060001EB RID: 491 RVA: 0x00012B5C File Offset: 0x00010D5C
        private PreFormActionResponse ExecuteRenameAction()
        {
            StoreObjectId storeObjectId = RequestParser.GetStoreObjectId(this.httpRequest, "ftr", true, ParameterIn.Form);
            string        formParameter = Utilities.GetFormParameter(this.httpRequest, "nnfr", true);

            this.folderManagementHelper.Rename(storeObjectId, formParameter);
            return(new PreFormActionResponse());
        }
        // Token: 0x060001EC RID: 492 RVA: 0x00012BA4 File Offset: 0x00010DA4
        private PreFormActionResponse ExecuteMoveAction()
        {
            if (this.module != NavigationModule.Mail)
            {
                throw new OwaInvalidRequestException("Invalid module for folder management preformaction Move");
            }
            StoreObjectId storeObjectId  = RequestParser.GetStoreObjectId(this.httpRequest, "ftm", true, ParameterIn.Form);
            StoreObjectId storeObjectId2 = RequestParser.GetStoreObjectId(this.httpRequest, "nlfm", true, ParameterIn.Form);

            this.folderManagementHelper.Move(storeObjectId, storeObjectId2);
            return(new PreFormActionResponse());
        }
        // Token: 0x060001ED RID: 493 RVA: 0x00012C00 File Offset: 0x00010E00
        private PreFormActionResponse ExecuteDeleteAction()
        {
            StoreObjectId         storeObjectId = RequestParser.GetStoreObjectId(this.httpRequest, "ftd", true, ParameterIn.Form);
            int                   num           = RequestParser.TryGetIntValueFromQueryString(this.httpRequest, "hd", 0);
            bool                  flag          = this.folderManagementHelper.Delete(storeObjectId, num == 1);
            PreFormActionResponse result        = new PreFormActionResponse();

            if (flag && this.folderId.Equals(storeObjectId))
            {
                switch (this.module)
                {
                case NavigationModule.Mail:
                    this.folderId = this.userContext.InboxFolderId;
                    this.userContext.LastClientViewState = new MessageModuleViewState(this.userContext.InboxFolderId, "IPF.Note", SecondaryNavigationArea.Special, 1);
                    break;

                case NavigationModule.Calendar:
                    this.folderId = this.userContext.CalendarFolderId;
                    this.userContext.LastClientViewState = new CalendarModuleViewState(this.userContext.CalendarFolderId, "IPF.Appointment", DateTimeUtilities.GetLocalTime().Date);
                    break;

                case NavigationModule.Contacts:
                    this.folderId = this.userContext.ContactsFolderId;
                    this.userContext.LastClientViewState = new ContactModuleViewState(this.userContext.ContactsFolderId, "IPF.Contact", 1);
                    break;

                default:
                    throw new OwaInvalidRequestException("Invalid module for folder management preformaction");
                }
            }
            if (flag)
            {
                FolderMruCache.DeleteFromCache(storeObjectId, this.userContext);
            }
            return(result);
        }