Пример #1
0
        static void EmployeeB()
        {
            MANAGEEMPLOYEESDetails Employee2 = new MANAGEEMPLOYEESDetails
            {
                EmployeeName   = "Clarence Martin",
                Position       = "Department Head",
                Department     = "IT Support",
                JobClass       = "Executive",
                HireDate       = new DateTime(2015, 07, 17),
                Status         = "Active",
                EmploymentType = "Full_Time"
            };

            MANAGEEMPLOYEES.AddEmployeeDetails(Employee2);

            Console.WriteLine("-------------------------------------------------------------------");
            Console.WriteLine($"\nName: {Employee2.EmployeeName}");
            Console.WriteLine($"Position: {Employee2.Position}");
            Console.WriteLine($"Department: {Employee2.Department}");
            Console.WriteLine($"Job Class: {Employee2.JobClass}");
            Console.WriteLine($"Hire Date: {Employee2.HireDate}");
            Console.WriteLine($"Status: {Employee2.Status}");
            Console.WriteLine($"Employment Type: {Employee2.EmploymentType}");

            Message();
        }
Пример #2
0
        static void EmployeeC()
        {
            MANAGEEMPLOYEESDetails Employee3 = new MANAGEEMPLOYEESDetails
            {
                EmployeeName   = "Dolores Lobrigo",
                Position       = "Consultant",
                Department     = "Accounting And Finance",
                JobClass       = "Executive",
                HireDate       = new DateTime(2015, 07, 17),
                Status         = "Active",
                EmploymentType = "Full_Time"
            };

            MANAGEEMPLOYEES.AddEmployeeDetails(Employee3);

            Console.WriteLine("-------------------------------------------------------------------");
            Console.WriteLine($"\nName: {Employee3.EmployeeName}");
            Console.WriteLine($"Position: {Employee3.Position}");
            Console.WriteLine($"Department: {Employee3.Department}");
            Console.WriteLine($"Job Class: {Employee3.JobClass}");
            Console.WriteLine($"Hire Date: {Employee3.HireDate}");
            Console.WriteLine($"Status: {Employee3.Status}");
            Console.WriteLine($"Employment Type: {Employee3.EmploymentType}");

            Message();
        }
Пример #3
0
        static void EmployeeA()
        {
            MANAGEEMPLOYEESDetails Employee1 = new MANAGEEMPLOYEESDetails
            {
                EmployeeName   = "Mary Paingas",
                Position       = "Assistant Manager",
                Department     = "Marketing",
                JobClass       = "Executive",
                HireDate       = new DateTime(2019, 08, 04),
                Status         = "Active",
                EmploymentType = "Full_Time"
            };

            MANAGEEMPLOYEES.AddEmployeeDetails(Employee1);

            Console.WriteLine("-------------------------------------------------------------------");
            Console.WriteLine($"\nName: {Employee1.EmployeeName}");
            Console.WriteLine($"Position: {Employee1.Position}");
            Console.WriteLine($"Department: {Employee1.Department}");
            Console.WriteLine($"Job Class: {Employee1.JobClass}");
            Console.WriteLine($"Hire Date: {Employee1.HireDate}");
            Console.WriteLine($"Status: {Employee1.Status}");
            Console.WriteLine($"Employment Type: {Employee1.EmploymentType}");

            Message();
        }