예제 #1
0
 public Employee(WebEmployee e)
 {
     this.Name       = e.Name;
     this.Email      = e.Email;
     this.EmployeeId = e.ID;
     this.IsManager  = e.IsManager;
     if (e.DateOfBirth != null)
     {
         this.DateOfBirth = DateTime.Parse(e.DateOfBirth);
     }
 }
예제 #2
0
 public void AddEmployee(WebEmployee employee)
 {
     throw new System.NotImplementedException();
 }
예제 #3
0
        public void AddEmployee(WebEmployee employee)
        {
            var eh = new Employee(employee);

            daoService.AddEmployee(eh);
        }