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); } }
public void AddEmployee(WebEmployee employee) { throw new System.NotImplementedException(); }
public void AddEmployee(WebEmployee employee) { var eh = new Employee(employee); daoService.AddEmployee(eh); }