C# Class Purchasing.Mvc.Controllers.AutoApprovalController

Inheritance: ApplicationController
显示文件 Open project: ucdavis/Purchasing

Public Methods

Method Description
AutoApprovalController ( IRepository autoApprovalRepository, string>.IRepositoryWithTypedId userRepository ) : System
Create ( bool showAll = false ) : System.Web.Mvc.ActionResult

#3 GET: /AutoApproval/Create

Delete ( int id, bool showAll = false ) : System.Web.Mvc.ActionResult

#7 GET: /AutoApproval/Delete/5

Details ( int id, bool showAll = false ) : System.Web.Mvc.ActionResult

#2 GET: /AutoApproval/Details/5

Edit ( int id, bool showAll = false ) : System.Web.Mvc.ActionResult

#5 GET: /AutoApproval/Edit/5

Index ( bool showAll = false ) : System.Web.Mvc.ActionResult

#1 GET: /AutoApproval/

Private Methods

Method Description
Create ( AutoApproval autoApproval, bool showAll = false ) : System.Web.Mvc.ActionResult
Delete ( int id, AutoApproval autoApproval, bool showAll = false ) : System.Web.Mvc.ActionResult
Edit ( int id, AutoApproval autoApproval, bool showAll = false ) : System.Web.Mvc.ActionResult
TransferValues ( AutoApproval source, AutoApproval destination ) : void

Transfer editable values from source to destination

Method Details

AutoApprovalController() public method

public AutoApprovalController ( IRepository autoApprovalRepository, string>.IRepositoryWithTypedId userRepository ) : System
autoApprovalRepository IRepository
userRepository string>.IRepositoryWithTypedId
return System

Create() public method

#3 GET: /AutoApproval/Create
public Create ( bool showAll = false ) : System.Web.Mvc.ActionResult
showAll bool
return System.Web.Mvc.ActionResult

Delete() public method

#7 GET: /AutoApproval/Delete/5
public Delete ( int id, bool showAll = false ) : System.Web.Mvc.ActionResult
id int
showAll bool
return System.Web.Mvc.ActionResult

Details() public method

#2 GET: /AutoApproval/Details/5
public Details ( int id, bool showAll = false ) : System.Web.Mvc.ActionResult
id int AutoApproval Id
showAll bool Show inactive and expired
return System.Web.Mvc.ActionResult

Edit() public method

#5 GET: /AutoApproval/Edit/5
public Edit ( int id, bool showAll = false ) : System.Web.Mvc.ActionResult
id int AutoApproval Id
showAll bool show inactive and expired too(Used to pass along to index)
return System.Web.Mvc.ActionResult

Index() public method

#1 GET: /AutoApproval/
public Index ( bool showAll = false ) : System.Web.Mvc.ActionResult
showAll bool show expired, not active, and active where user is current user.
return System.Web.Mvc.ActionResult