Exemplo n.º 1
0
 public UpdateEmployee(EmployeeModel empDetails)
 {
     objEmpDetails = empDetails;
 }
Exemplo n.º 2
0
 public abstract IEmployee GetHandler(EmployeeModel objEmpDetails);
Exemplo n.º 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);
        }
Exemplo n.º 4
0
 public AddEmployee(EmployeeModel empDetails)
 {
     objEmpDetails = empDetails;
 }