Click or drag to resize

EmployeeController Class

Employee web controller
Inheritance Hierarchy
SystemObject
  ControllerBase
    Controller
      Velo.Web.HelperControllerStandard
        Velo.Web.ControllersEmployeeController

Namespace:  Velo.Web.Controllers
Assembly:  Velo.Web (in Velo.Web.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
public class EmployeeController : ControllerStandard

The EmployeeController type exposes the following members.

Constructors
  NameDescription
Public methodEmployeeController
Initializes a new instance of the EmployeeController class. Constructor without parameter
Top
Methods
  NameDescription
Protected methodConvertViewToString
Convert MVC view to HTML code as string
(Inherited from ControllerStandard.)
Public methodCode exampleCreate
Create a new employee
Public methodCode exampleCreate(FormCollection)
Creating the employee from form data
Public methodCode exampleDelete(Int32)
Delete an employee
Public methodCode exampleDelete(Int32, FormCollection)
Deleting an employee
Public methodCode exampleDetails
Get an employee details
Public methodCode exampleEdit(Int32)
Edit an employee
Public methodEdit(Int32, FormCollection)
Save an employee that has been edited.
Protected methodCode exampleGoToURLReferrer
Gives redirection result from URL referrer
(Inherited from ControllerStandard.)
Public methodIndex
Get employee list
Protected methodMessage
Go to message (Home/Message)
(Inherited from ControllerStandard.)
Protected methodMessageNoData
Standard message "Daten nicht vorhanden!" or "[data source] nicht vorhanden!"
(Inherited from ControllerStandard.)
Protected methodCode exampleSaveURLReferrer
Save URL referrer
(Inherited from ControllerStandard.)
Private methodSetData
Set data item Employee with form data
Top
Extension Methods
  NameDescription
Public Extension MethodCode exampleConvertDateFromSQL
Convert SQL date include value null
(Defined by Extension.)
Public Extension MethodConvertDateToSQL
Convert C# date type to SQL date type
(Defined by Extension.)
Top
See Also