예제 #1
0
 public UpdateEmployee(EmployeeModel empDetails)
 {
     objEmpDetails = empDetails;
 }
예제 #2
0
 public abstract IEmployee GetHandler(EmployeeModel objEmpDetails);
예제 #3
0
        /// <summary>
        /// Adds the employee to the employees list.
        /// </summary>
        /// <param name="employee">The employee object.</param>
        public void AddEmployee(EmployeeModel employee)
        {
            Employee emp = _empFactory.GetEmployeeFromModel(employee);

            DBContext.AddEmployee(emp);
        }
예제 #4
0
 public AddEmployee(EmployeeModel empDetails)
 {
     objEmpDetails = empDetails;
 }