public UpdateEmployee(EmployeeModel empDetails) { objEmpDetails = empDetails; }
public abstract IEmployee GetHandler(EmployeeModel objEmpDetails);
/// <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); }
public AddEmployee(EmployeeModel empDetails) { objEmpDetails = empDetails; }