C# Class Project_Marmelade.EmployeeController

Exibir arquivo Open project: DMOe15a/ProjectMarmelade Class Usage Examples

Public Properties

Property Type Description
employees List

Public Methods

Method Description
CreateEmployee ( string name, string address, string email, string type, string title, string workhours, string dateOfEmployment ) : string
DeleteEmployee ( string email ) : string
EmployeeController ( ) : System
GetEmployeeByEmail ( string email ) : Employee
GetListOfEmails ( ) : List
GetListOfTitles ( ) : List
GetListOfTypes ( ) : List
ReadEmployees ( ) : List
UpdateEmployee ( string name, string address, string email, string type, string title, string workhours, string endOfEmployment ) : string

Method Details

CreateEmployee() public method

public CreateEmployee ( string name, string address, string email, string type, string title, string workhours, string dateOfEmployment ) : string
name string
address string
email string
type string
title string
workhours string
dateOfEmployment string
return string

DeleteEmployee() public method

public DeleteEmployee ( string email ) : string
email string
return string

EmployeeController() public method

public EmployeeController ( ) : System
return System

GetEmployeeByEmail() public method

public GetEmployeeByEmail ( string email ) : Employee
email string
return Employee

GetListOfEmails() public method

public GetListOfEmails ( ) : List
return List

GetListOfTitles() public method

public GetListOfTitles ( ) : List
return List

GetListOfTypes() public method

public GetListOfTypes ( ) : List
return List

ReadEmployees() public method

public ReadEmployees ( ) : List
return List

UpdateEmployee() public method

public UpdateEmployee ( string name, string address, string email, string type, string title, string workhours, string endOfEmployment ) : string
name string
address string
email string
type string
title string
workhours string
endOfEmployment string
return string

Property Details

employees public_oe property

public List employees
return List