C# Class Marmalade_Global.EmployeeController

Datei anzeigen Open project: DMOE15C/project-marmelade

Public Methods

Method Description
CreateEmployee ( string name, string phoneNo, string address, double hourlyWage, string personalID, EmployeeStatuses shift, EmployeeStatuses department, EmployeeStatuses marity ) : BlueCollar

Creates production employee

CreateEmployee ( string name, string phoneNo, string address, double hourlyWage, string personalID, EmployeeStatuses department, EmployeeStatuses marity ) : WhiteCollar

Creates sales and other white collar employees

Method Details

CreateEmployee() public static method

Creates production employee
public static CreateEmployee ( string name, string phoneNo, string address, double hourlyWage, string personalID, EmployeeStatuses shift, EmployeeStatuses department, EmployeeStatuses marity ) : BlueCollar
name string
phoneNo string
address string
hourlyWage double
personalID string
shift EmployeeStatuses shift Enum Day / Evening / Nigh
department EmployeeStatuses Department enum
marity EmployeeStatuses Marital status enum
return BlueCollar

CreateEmployee() public static method

Creates sales and other white collar employees
public static CreateEmployee ( string name, string phoneNo, string address, double hourlyWage, string personalID, EmployeeStatuses department, EmployeeStatuses marity ) : WhiteCollar
name string
phoneNo string
address string
hourlyWage double
personalID string
department EmployeeStatuses Department enum
marity EmployeeStatuses Marital status enum
return WhiteCollar