You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > AccountController Class

AccountController Class

AuctionWorx 3.5 API
Provides methods that respond to account-specific MVC requests
Inheritance Hierarchy

SystemObject
  ControllerBase
    Controller
      RainWorx.FrameWorx.MVC.ControllersAuctionWorxController
        RainWorx.FrameWorx.MVC.ControllersAccountController

Namespace:  RainWorx.FrameWorx.MVC.Controllers
Assembly:  RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5

Syntax

C#
public class AccountController : AuctionWorxController

The AccountController type exposes the following members.

Constructors

NameDescription
Public methodAccountController
This constructor is used by the MVC framework to instantiate the controller using the default Asp.Net Identity user management components.
Public methodAccountController(AuctionWorxUserManager, AuctionWorxSignInManager)
This constructor is not used by the MVC framework but is instead provided for ease of unit testing this type.
Top
Properties

NameDescription
Public propertySignInManager
Get/Set and instance of the sign-in manager
Public propertyUserManager
Get/Set and instance of the user manager
Top
Methods

NameDescription
Public methodAbortStripePayment
Sets the specified "Pending" invoice back to "New" status then redirects to invoice detail view
Public methodAccountSettings
Displays a form to edit this user's Newsletter property Also displays some other read-only user properties
Public methodAccountSettings(Boolean, String)
Processes request to change Newsletter preference
Public methodActivateListings
Processes request to activate multiple draft listings at once
Public methodActiveConsignments
Displays a page of listings/lots owned by this seller, which have a consignor assigned
Public methodAddAllLineItems
Processes request to add a line item to an invoice
Public methodAddCard
Redirects to the appropriate payment-gateway-specific form for adding a new credit card
Public methodAddConsignor
Displays and processes form to add a new consignor
Public methodAddConsignorModal
Displays and processes form to add a new consignor
Public methodAddCreditCard
Displays form to add a credit card Processes request to add a credit card
Public methodAddInvoiceAdjustment
Processes request to add an invoice adjustment line item
Public methodAddLineItem
Processes request to add a line item to an invoice
Public methodAddressManagement
Displays a list of all addresses owned by this user
Public methodAddStatementAdjustment
Processes request to add a statement adjustment line item
Public methodAddStripeCard
Displays form to add new stripe card
Public methodBidding
Redirects to the applicable view
Public methodBiddingActive
Displays a page of active listings where this user has submitted an action (i.e. bid)
Public methodBiddingNotWon
Displays a page of closed listings where this user has submitted an action (i.e. bid) but was not successful (i.e. did not win)
Public methodBiddingOffers
Displays a page of listing line items for listings owned by this user
Public methodBiddingWatching
Displays a page of listings this user is watching
Public methodBiddingWon
Displays a page of listing line items payable by this user
Public methodBuyerFeedback
Displays this user's feedback as a buyer
Public methodChangePassword
Displays change password form
Public methodChangePassword(String, String, String)
Processes request to change password
Public methodCheckout
Either adds the specified line item to an eligible invoice if it exists, otherwise creates a new invoice, and redirects to the invoice detail page
Public methodClosingGroups(Int32)
Displays Closing Group management view for the specified Event
Public methodClosingGroups(Int32, String)
Processes request to update the Closing Group details for the specified Event
Public methodConfirmInvoicePayment
Processes request from payee to confirm payment record entered by payer via free form payment provider
Public methodConsignmentClosedItems
Displays a page of statement line items consigned by this user
Public methodConsignmentItems
Displays a page of listings/lots consigned by this user
Public methodConsignmentSalesReport
Displays "Consignor Statements" admin report
Public methodConsignmentSalesReportCSV
Outputs CSV version "Consignor Statements" admin report
Public methodConsignmentStatements
Displays a page of statements for this consignor
Public methodConsignorFees
Displays current fee tiers for the specified consignor id and processes request to update fee tiers
Public methodConsignorManagement
Displays list of consignors owned by this seller
Public methodConsignorStatements
displays consignor statements matching the specified search criteria
Public methodCopyListings
Processes request to copy multiple listings as drafts
Public methodCopyLots(NullableInt32, NullableInt32, String, String)
Displays a form to copy multiple lots from the specified event to a new event
Public methodCopyLots(NullableInt32, NullableInt32, String, String, NullableBoolean)
Processes request to copy multiple lots to another event
Public methodCreateAddress(NullableInt32, NullableInt32, String)
Displays form to enter a new address
Public methodCreateAddress(String, NullableInt32, NullableInt32, String)
Processes request to add a new address
Public methodCreateAllInvoices
Creates an invoice for each successful line item, adding similar line items where possible.
Public methodCreateInvoice
Processes request to create an invoice based on the specified line item
Public methodCreditCards
Displays a list of this user's credit cards on file
Public methodDeactivateConsignor
processes request to deactivate the specified consignor
Public methodDefault
Redirects to the applicable view
Public methodDeleteAddress
Processes request to delete the spcified address
Public methodDeleteCreditCard
Processes request to delete credit card
Public methodDeleteListings
Processes request to delete multiple unsuccessful listings at once
Public methodDeleteLots
Processes request to delete multiple unsuccessful listings at once
Public methodDeleteMessage
Processes a request to delete the specified message
Public methodDemoACP
Helper function for demo mode to allow easy access to the admin control panel
Protected methodDispose
disposes all instances of applicable private members
(Overrides Controller.Dispose(Boolean).)
Public methodDownloadCSVReport
Streams contents of report to browser
Public methodEditAddress
Processes request to update the specified address
Public methodEditAddress(Int32)
Displays form to update the specified address
Public methodEditConsignor
displays form and processes request to edit the specified consignor
Public methodEmailAllEventInvoices
Queues an email notification for each invoice in the specified Event
Public methodEmailAllStatements
Processes request to email all consignor statements either for the specified event, or any owned by the authenticated user which are not in an event
Public methodEmailMultipleInvoices
Queues multiple invoice emails to be sent
Public methodEmailMultipleStatements
Queues multiple statement emails to be sent
Public methodEventPurchaseInvoices
Redirects to the applicable view
Public methodEventSaleInvoices
Redirects to the applicable view
Public methodEventSalesTransactionCSV
Sends "Sales Transactions" admin report data to the user's browser in CSV format
Public methodEventSalesTransactionReport
Displays "Sales Transactions" admin report
Public methodEventsArchived
Displays view showing Events owned by the current user
Public methodEventsClosed
Displays view showing Events owned by the current user
Public methodEventsDrafts
Displays view showing Events owned by the current user
Public methodEventsPublished
Displays view showing Events owned by the current user
Public methodEventSummary
Displays summary details for the specified event
Public methodExternalLogin
Redirects to applicable provider for authentication
Public methodExternalLoginCallback
processes user authentication attempt from third party provider
Public methodFeedback
Displays this user's feedback summary
Public methodFeedbackIndex
Redirects to the applicable view
Public methodFees(FormCollection)
Processes a request to pay "Current Site Fees"
Public methodFees(NullableInt32)
Displays a page of "Current Site Fees" lineitems
Public methodForgotPassword
Displays forgot password form
Public methodForgotPassword(String)
Processes forgot password request
Public methodGenerateConsignorStatements
Processes request to create all consignor statements either for the specified event, or any owned by the authenticated user which are not in an event
Public methodGetCSVReport
Displays "Download Report" view
Public methodHistoricalFees
Displays a page of site fee invoices
Public methodIndex
Displays default "My Account" view (normally "My Account > Summary")
Public methodInvoiceDetail(Int32, String, FormCollection)
Processes request to pay invoice
Public methodInvoiceDetail(Int32, NullableBoolean, String, NullableInt32, NullableInt32, String)
Displays form to edit applicable invoice details
Public methodInvoiceEventSales
Displays a page of listing invoices owned by this user
Public methodInvoicePurchases
Displays a page of listing invoices payable by this user
Public methodInvoices
Redirects to the applicable view
Public methodInvoiceSales
Displays a page of listing invoices owned by this user
Public methodLinkLogin
Redirects to applicable provider for authentication
Public methodLinkLoginCallback
processes user authentication attempt from third party provider, linking it to currently authenticated user account
Public methodListing
Redirects to the applicable view
Public methodListingPreferences
Redirects to the applicable view
Public methodListingsActive
Displays a page of active listings owned by this user
Public methodListingsDrafts
Displays a page of draft listings owned by this user
Public methodListingsEnded
Displays a page of ended listings owned by this user, which may or may not have associated purchases
Public methodListingsPending
Displays a page of pending listings owned by this user
Public methodListingsSuccessful
Displays a page of listing line items for listings owned by this user
Public methodListingsUnsuccessful
Displays a page of closed listings owned by this user that did not end with a buyer/winner
Public methodLogOff
Processes request to log off
Public methodLogOn(String, String)
Displays the login view
Public methodLogOn(String, String, Boolean, String)
Processes login request
Public methodLotsByEvent
Displays a list of Lots associated with the specified event
Public methodLotsByEventCSV
Displays a list of Lots associated with the specified event
Public methodMarkMultipleInvoicesArchived
Processes request from seller to archive the selected invoices
Public methodMarkMultipleInvoicesPaid
Processes request from seller to manually mark their own listing invoice as "Paid"
Public methodMarkMultipleInvoicesShipped
Processes request from seller to manually mark their own listing invoice as "Shipped"
Public methodMarkMultipleStatementsArchived
Processes request from seller to archive the selected statements
Public methodMarkMultipleStatementsPaid
Processes request from seller to manually mark their own listing statements as "Paid"
Public methodMessaging
Redirects to the applicable view
Public methodMoveLots
Processes request to copy multiple lots to another event
Public methodMyPaymentSettings_Inline
Displays form to update seller's payment settings (e.g. paypal email, allow instant checkout)
Public methodMyTaxRates_Inline
Displays form to update tax rates
Protected methodOnActionExecuting
Called before all action methods in this controller class are invoked
(Overrides Controller.OnActionExecuting(ActionExecutingContext).)
Public methodPayAllInvoices
Attempts to charge the card on file for all applicable unpaid sale invoices
Public methodPaymentPreferences
Redirects to the applicable view
Public methodPaymentReceived
displays the success result of a paypal payment
Public methodPrintInvoice
Displays invoice details, formatted for printing
Public methodPrintMultipleInvoices
Displays multiple invoice details, formatted for printing
Public methodPrintMultipleStatements
Displays multiple statement details, formatted for printing
Public methodPrintStatement
Displays statement details, formatted for printing
Public methodPropertyManagement
Displays form to view/edit specified user properties Processes request to update specified user properties
Public methodPropertyManagement_Inline
Displays form to view/edit specified user properties Processes request to update specified user properties
Public methodReactivateConsignor
processes request to re-activate the specified consignor
Public methodReadMessage
Displays the specified message
Public methodRecalculateClosingGroups
Processes request to re-calculate all lot groups for the specified event
Public methodRecalculateSoftClosingGroups
Processes request to re-calculate all soft-closing (i.e. auto extend) lot groups for the specified event
Public methodRegister
Displays new user registration form
Public methodRegister(String)
Processes new user registration request
Public methodRelist
Processes request to relist the specified listing
Public methodRelistBulk
Processes request to relist multiple listings at once
Public methodRemoveAllEndedWatches
Removes all ended listings from Bidding: Watching section of My Account
Public methodRemoveLineItem
Processes request to remove a line item from an invoice
Public methodRemoveLogin
removes the specified provider authentication method from the currently authenticated user account
Public methodRemoveMultipleWatches
Removes multiple listings from Bidding: Watching section of My Account
Public methodRemoveStatementLineItem
Processes request to remove a line item from a statement
Public methodRemoveWatch
Removes a listing from Bidding: Watching section of My Account
Public methodReportAbuse
Send a "report abuse" email to the website owner regarding a specific message
Public methodResetLotNumbers
Processes request to re-assign all lot numbers in the specified event based on the current order
Public methodResetPassword
Displays the reset password form Processes a reset password request
Public methodSalesTaxManagement
Displays form to view/edit/delete sales tax rates (for use with header and footer)
Public methodSalesTaxManagement_Inline
Displays form to view/edit/delete sales tax rates (for use without header or footer)
Public methodSalesTransactionCSV
Sends "Sales Transactions" admin report data to the user's browser in CSV format
Public methodSalesTransactionReport
Displays "Sales Transactions" admin report
Public methodSellerFeedback
Displays this user's feedback as a seller
Public methodSendListingMessage(String, String, Int32, String)
Displays form to send a message to another user about a specific listing
Public methodSendListingMessage(String, String, Int32, String, String, String, NullableInt32)
Porcesses request to send a message to another user about a specific listing
Public methodSendMessage
Processes a request to send a non-listing message
Public methodSendUserMessage
Displays form to send a message to another user
Public methodSetBillingAddress(Int32)
Displays form to select a billing address for the specified invoice
Public methodSetBillingAddress(Int32, Int32)
Processes request to set the specified address as the billing address
Public methodSetDefaultCreditCard
Processes request to set credit card as default
Public methodSetEventsArchived
Processes request to set the status of one or more events to "Archived"
Public methodSetEventsHidden
Processes request to set one or more events and associated lots to hidden or visible after closing
Public methodSetInvoicePaid
Processes request from seller to manually mark their own listing invoice as "Paid" or "Unpaid"
Public methodSetInvoiceShipped
Processes request to set the "shipped" status of an invoice
Public methodSetLineItemsArchived
Processes request to set the "Archived" status of one or more line items
Public methodSetLineItemsArchivedByPayer
Processes request to set the "Archived" status of one or more line items
Public methodSetPrimaryAddress
Processes request to set the specified address as the primary address
Public methodSetShippingAddress(Int32)
Displays form to select a shipping address for the specified invoice
Public methodSetShippingAddress(Int32, Int32)
Processes request to set the specified address as the shipping address
Public methodSetStatementPaid
Processes request from seller to manually mark their own listing statement as "Paid" or "Unpaid"
Public methodSettings
Redirects to the applicable view
Public methodSiteFees
Redirects to the applicable view
Public methodSoftClosingGroups(Int32)
Displays Soft Closing Group management view for the specified Event
Public methodSoftClosingGroups(Int32, String)
Processes request to update the Soft Closing Group details for the specified Event
Public methodStatement
displays the specified consignor statement
Public methodStopImpersonating
Processes request by admin to stop impersonating aonther user
Public methodStripeCardManagement
Displays a list of this user's credit cards on file
Public methodSubmitFeedback(Int32, Int32, String, String, String)
Displays form to submit feedback about a completed listing action
Public methodSubmitFeedback(Int32, Int32, String, String, String, String, String)
Processes request to submit feedback about a completed listing action
Public methodSummary
Displays various listing / invoice counts depending on the user's role (e.g. # items won, # invoices due, etc.)
Public methodTestCardAuthOnly
FOR TESTING USE ONLY - DISABLE IN PRODUCTION
Public methodTestCardAuthOnly(FormCollection)
FOR TESTING USE ONLY - DISABLE IN PRODUCTION
Public methodToggleBpAppliesLineItem
Processes request to toggle whether buyer's premium applies to a line item
Public methodToggleTaxableBp
Processes request to toggle whether Buyer's Premium is taxable for the specified invoice
Public methodToggleTaxableLineItem
Processes request to toggle whether a line item is taxable
Public methodUpdateInvoiceBuyersPremium
Processes request to update an invoice comment
Public methodUpdateInvoiceComments
Processes request to update an invoice comment
Public methodUpdateInvoiceShipping
Processes request to change or specify the preferred shipping option on a listing invoice
Public methodUpdateSalesTaxRates
Processes request to update/delete sales tax rates
Public methodUpdateStatementComments
Processes request to update a statement comment
Public methodUpgradeUsers
Initiates password conversion from v3.0 to v3.1 (ASP.Net Identity)
Public methodUpgradeUsers_Batch
Processes up password conversions for up to 3000 seconds before returning results
Public methodUserVerification
Displays form for user email verification Processes request for user email verification
Public methodViewBuyerFeedback
Displays the specified user's feedback received as a buyer
Public methodViewFeedback
Displays the specified user's feedback received from others
Public methodViewFeedbackForOthers
Displays the specified user's feedback left for other users
Public methodViewMessages
Displays a list of messages eith to or from this user (not both)
Public methodViewSellerFeedback
Displays the specified user's feedback received as a seller
Public methodVoidLineItems
Processes requests to void or un-void the specified sales line items
Public methodVoidStatementLineItem
Processes requests to void or un-void the specified statement line item
Top
Extension Methods

NameDescription
Public Extension MethodAdminResourceString (Defined by ResourceExtensions.)
Public Extension MethodCloneMediaAssets
Clones a list of Media objects
(Defined by HtmlHelpers.)
Public Extension MethodCountries (Defined by ResourceExtensions.)
Public Extension MethodCustomFieldResourceOrDefaultString (Defined by ResourceExtensions.)
Public Extension MethodCustomFieldResourceString (Defined by ResourceExtensions.)
Public Extension MethodDecodeBreadCrumbs(String)Overloaded.
Parses breadcrumb values and sets ViewData as needed
(Defined by HtmlHelpers.)
Public Extension MethodDecodeBreadCrumbs(String, ListCategory)Overloaded.
Parses breadcrumb values and sets ViewData as needed
(Defined by HtmlHelpers.)
Public Extension MethodFBOUserName
Returns the username of the user being impersonated, if applicable, otherwise returns the username of the authenticated user
(Defined by HtmlHelpers.)
Public Extension MethodFlushCountriesAndStates (Defined by ResourceExtensions.)
Public Extension MethodGetActionUrl(String)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetActionUrl(String, String)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetActionUrl(String, Object)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetActionUrl(String, String, Object)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetAllStripeCards
Calls out to stripe.com API to retrieve saved cards available for the specified invoice
(Defined by StripeHelpers.)
Public Extension MethodGetCookie
Returns a string representation of the browser cookie value associated with the specified key
(Defined by HtmlHelpers.)
Public Extension MethodGetCultureInfo
Returns the CultureInfo of the current user, or the site CultureInfo if not set
(Defined by HtmlHelpers.)
Public Extension MethodGlobalResource (Defined by ResourceExtensions.)
Public Extension MethodGlobalResourceString (Defined by ResourceExtensions.)
Public Extension MethodHasUnexpiredCardOnFile
Returns true if the specified payer has a card saved for use in paying the specified recipient
(Defined by HtmlHelpers.)
Public Extension MethodHasUnexpiredStripeCardOnFile
Calls out to stripe.com API to retrieve saved cards and returns true if an unexpired card is found
(Defined by StripeHelpers.)
Public Extension MethodImpersonateUser
If the currently authenticated user is an admin user, sets a cookie indicating the user to be impersonated
(Defined by HtmlHelpers.)
Public Extension MethodLocalCurrency
Returns HTML showing the specified numeric value formatted as the specified currency. The numeric portion will be wrapped in a <span> tag with css class "NumberPart" applied
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTM(DateTime)Overloaded.
returns a string representation of a UTC date/time value, adjusted for the site timezone and with format string "F"
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTM(DateTime, String)Overloaded.
returns a string representation of a UTC date/time value, adjusted for the site timezone and with the specified format string
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTM(DateTime, String, String)Overloaded.
returns a string representation of a UTC date/time value, adjusted for the specified timezone and with the specified format string
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTMString
returns a string representation of a UTC date/time value, adjusted for the site timezone and with the specified format string
(Defined by HtmlHelpers.)
Public Extension MethodLocalizeCountry (Defined by ResourceExtensions.)
Public Extension MethodLocalizeCustomFieldValidationMessages
Localizes a collection of validation issues with content defined in Validation.resx
(Defined by HtmlHelpers.)
Public Extension MethodLocalizedCategoryName
Retrieves the localized category or region name
(Defined by ResourceExtensions.)
Public Extension MethodLocalizeState (Defined by ResourceExtensions.)
Public Extension MethodResourceString
Retrieves a resource string based on the specified expression
(Defined by ResourceExtensions.)
Public Extension MethodSellerTakesCreditCardPayments
Returns true if the specified seller has payment gateway credentials and can process credit card payments from a card on file
(Defined by HtmlHelpers.)
Public Extension MethodSetCookie
Sets a cookie for the current user with the specified key and value
(Defined by HtmlHelpers.)
Public Extension MethodSiteCurrencyOrFree
Returns a string representation of the specified numeric value formatted as the site currency. If the specified value is less than or equal to zero then the localized version of "Free" is returned instead.
(Defined by HtmlHelpers.)
Public Extension MethodTimeZoneAbbreviationString (Defined by ResourceExtensions.)
Public Extension MethodToMvcHtmlString
Returns the HTML version of the ToString() output method of the specified object
(Defined by HtmlHelpers.)
Public Extension MethodValidateCaptcha (Defined by RecaptchaMVC.)
Public Extension MethodValidationResourceString (Defined by ResourceExtensions.)
Top
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.