HistoryController Members

TriCodeTest

HistoryController Members

The HistoryController type exposes the following members.

Constructors


  Name Description
Public method HistoryController
Controller

Methods


  Name Description
Public method Details
Displays order details based on clicked order
Public method Index
Display list of completed orders.
Private method ListOrderDeserialize
Deserialize all the Orders in the database to view models.
Private method OrderDeserialize
Deserialized an Order and converts it to the view model.
Public method resubmitOrder
Resets the order state to received and the DateTime to the current time

Fields


  Name Description
Private field _context
The context

Properties


  Name Description
Public property Orders
Order function