C# Класс Purchasing.Mvc.Controllers.HistoryController

Disabling session state #1 because we don't need it, #2 so that we can call partial views and ajax calls in parallel (aka no lock on session)
Наследование: ApplicationController
Показать файл Открыть проект

Открытые методы

Метод Описание
AccountsPayableOrders ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate ) : System.Web.Mvc.ActionResult
AdminOrders ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate, bool showPending = false ) : System.Web.Mvc.ActionResult

Page to view Administrative Workgroup Orders

Page to view Administrative Workgroup Orders

HistoryController ( IRepositoryFactory repositoryFactory, IOrderService orderService ) : System
Index ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate, bool showPending = false, bool showCreated = false ) : System.Web.Mvc.ActionResult

List of Orders

Приватные методы

Метод Описание
PopulateModel ( List orders, FilteredOrderListModelDto model ) : void

Описание методов

AccountsPayableOrders() публичный Метод

public AccountsPayableOrders ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate ) : System.Web.Mvc.ActionResult
selectedOrderStatus string
startDate System.DateTime
endDate System.DateTime
startLastActionDate System.DateTime
endLastActionDate System.DateTime
Результат System.Web.Mvc.ActionResult

AdminOrders() публичный Метод

Page to view Administrative Workgroup Orders Page to view Administrative Workgroup Orders
public AdminOrders ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate, bool showPending = false ) : System.Web.Mvc.ActionResult
selectedOrderStatus string
startDate System.DateTime
endDate System.DateTime
startLastActionDate System.DateTime
endLastActionDate System.DateTime
showPending bool
Результат System.Web.Mvc.ActionResult

HistoryController() публичный Метод

public HistoryController ( IRepositoryFactory repositoryFactory, IOrderService orderService ) : System
repositoryFactory IRepositoryFactory
orderService IOrderService
Результат System

Index() публичный Метод

List of Orders
public Index ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate, bool showPending = false, bool showCreated = false ) : System.Web.Mvc.ActionResult
selectedOrderStatus string Includes 3 that are not in our database
startDate System.DateTime For when Order was created
endDate System.DateTime For when Order was created
startLastActionDate System.DateTime For when Order was last acted on
endLastActionDate System.DateTime For when Order was last acted on
showPending bool Show orders pending your action
showCreated bool Only show orders you created
Результат System.Web.Mvc.ActionResult