C# Class Purchasing.Mvc.Controllers.AutoApprovalController

Inheritance: ApplicationController
Afficher le fichier Open project: ucdavis/Purchasing

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AutoApprovalController ( IRepository autoApprovalRepository, string>.IRepositoryWithTypedId userRepository ) : System
autoApprovalRepository IRepository
userRepository string>.IRepositoryWithTypedId
Résultat System

Create() public méthode

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

Delete() public méthode

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

Details() public méthode

#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
Résultat System.Web.Mvc.ActionResult

Edit() public méthode

#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)
Résultat System.Web.Mvc.ActionResult

Index() public méthode

#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.
Résultat System.Web.Mvc.ActionResult