C# Class Administrasjon.Controllers.AdminProductController

Inheritance: Controller
Datei anzeigen Open project: chrban/Webapplikasjoner Class Usage Examples

Public Methods

Method Description
Add ( ) : System.Web.Mvc.ActionResult
AdminProductController ( ) : System
AdminProductController ( ProductBLL productBLL, LoggingBLL logginBLL ) : System
AllProducts ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Uploader ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Add ( ProductModel newProduct ) : System.Web.Mvc.ActionResult
Edit ( ProductModel productModel ) : System.Web.Mvc.ActionResult
UniqueCategory ( ) : void

Method Details

Add() public method

public Add ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

AdminProductController() public method

public AdminProductController ( ) : System
return System

AdminProductController() public method

public AdminProductController ( ProductBLL productBLL, LoggingBLL logginBLL ) : System
productBLL Kaffeplaneten.BLL.ProductBLL
logginBLL Kaffeplaneten.BLL.LoggingBLL
return System

AllProducts() public method

public AllProducts ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Details() public method

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Edit() public method

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Uploader() public method

public Uploader ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult