예제 #1
0
파일: Program.cs 프로젝트: Gitvalt/Demo5
 private static void Officeadd(string name, List<Employee> officeemplist, Employee you)
 {
     /*
     1. Name of the office you are being assinged to.
     2. List of employees in office
     3. List of employees in company
     4. New employee
     */
     you.Work_office = name;
     officeemplist.Add(you);            
     return;
 }
예제 #2
0
파일: Program.cs 프로젝트: Gitvalt/Demo5
 private static void ADDtoA(string name, List<Employee> officeemplist, Employee you, List<Employee> wholecompemp, Company j)
 {
     Companyadd(j, wholecompemp, you);
     Officeadd(name,officeemplist,you);
     return;
 }
예제 #3
0
파일: Program.cs 프로젝트: Gitvalt/Demo5
 private static void Companyadd(Company j, List<Employee> x, Employee y)
 {
     x.Add(y);
     y.Employer = j.Company_name;
     return;
 }