Model for the My Auctions page. This class is decorated with the Authorize attribute. More...
Public Member Functions | |
MyAuctionsModel (IConfiguration configuration, IHubContext< NotificationHub > hubContext) | |
Initializes a new instance of the MyAuctionsModel class. More... | |
void | OnGet (string sort) |
Shows the client's auctions. More... | |
Properties | |
string | CurrentSort = "" [get, set] |
The current sort. More... | |
int | CurrentOccurring = 0 [get, set] |
The current occurring. More... | |
List< Dictionary< string, object > >? | MyAuctions [get, set] |
The list of auctions. More... | |
Private Attributes | |
readonly IConfiguration | configuration |
The IConfiguration instance. More... | |
readonly IHubContext< NotificationHub > | hubContext |
The IHubContext instance. More... | |
Model for the My Auctions page. This class is decorated with the Authorize attribute.
|
inline |
Initializes a new instance of the MyAuctionsModel class.
configuration | The IConfiguration instance. |
hubContext | The IHubContext instance. |
|
inline |
Shows the client's auctions.
This page gets the client's auctions from the database and displays them by the specified sort order. To see available sort options, see Utils.Auctions.GetAuctions.
sort | The sort order to use. |
returns>A task that represents the action of loading the MyAuctions page.
|
private |
The IConfiguration instance.
|
private |
The IHubContext instance.
|
getset |
The current occurring.
|
getset |
The current sort.
|
getset |
The list of auctions.