C# Class PETUtility.Web.Controllers.PETianoController

Inheritance: Controller
显示文件 Open project: pet-informatica/PET-Utility

Public Properties

Property Type Description
_PETianoService IPETianoService

Public Methods

Method Description
Create ( PETiano petiano, string profile ) : System.Web.Mvc.ActionResult
Delete ( string id ) : System.Web.Mvc.ActionResult
Edit ( PETiano petiano, string profile ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
PETianoController ( IPETianoService petianoService ) : System

Private Methods

Method Description
_PopulateDropdown ( string profile = null ) : void
_SendEmailProfile ( EProfile profile, bool edit ) : void

Method Details

Create() public method

public Create ( PETiano petiano, string profile ) : System.Web.Mvc.ActionResult
petiano PETUtility.Data.Fundamentals.Models.PETiano
profile string
return System.Web.Mvc.ActionResult

Delete() public method

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

Edit() public method

public Edit ( PETiano petiano, string profile ) : System.Web.Mvc.ActionResult
petiano PETUtility.Data.Fundamentals.Models.PETiano
profile string
return System.Web.Mvc.ActionResult

Index() public method

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

PETianoController() public method

public PETianoController ( IPETianoService petianoService ) : System
petianoService IPETianoService
return System

Property Details

_PETianoService public_oe property

public IPETianoService _PETianoService
return IPETianoService