C# Class MassAssignment.Controllers.ProfileController

Inheritance: Controller
Exibir arquivo Open project: candanbolukbas/Secure-Programming-Samples

Public Properties

Property Type Description
modelViewType System.Type

Public Methods

Method Description
CopyFieldValues ( object source, object destination ) : void
CopyPropertyValues ( object source, object destination ) : void
Edit ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
PartialObject ( Type typeOfClass ) : object
Save ( Employee e, string btnSave ) : System.Web.Mvc.ActionResult
View ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Edit ( Employee e, string btnSave ) : System.Web.Mvc.ActionResult
Edit ( EmployeeEditViewModel e, string btnSave ) : System.Web.Mvc.ActionResult

Method Details

CopyFieldValues() public static method

public static CopyFieldValues ( object source, object destination ) : void
source object
destination object
return void

CopyPropertyValues() public static method

public static CopyPropertyValues ( object source, object destination ) : void
source object
destination object
return void

Edit() public method

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

Index() public method

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

PartialObject() public method

public PartialObject ( Type typeOfClass ) : object
typeOfClass System.Type
return object

Save() public method

public Save ( Employee e, string btnSave ) : System.Web.Mvc.ActionResult
e Employee
btnSave string
return System.Web.Mvc.ActionResult

View() public method

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

Property Details

modelViewType public_oe property

public Type,System modelViewType
return System.Type