public AddCommissionedEmployee(AddCommissionedEmployeeRequest r) : base(r.EmpId, r.Name, r.Address) { hourlyRate = r.HourlyRate; salary = r.Salary; }
public override Transaction MakeAddCommisionedEmployee(Request r) { AddCommissionedEmployeeRequest req = r as AddCommissionedEmployeeRequest; return(new AddCommissionedEmployee(req)); }