public Boolean insertEmployer(System.Guid EmployerId, String EmployerName) { Employer obj = Employer.createEmployer(EmployerId, EmployerName); EmployerManager mgr = new EmployerManager(); return mgr.insertEmployer(obj); }
public Boolean insertEmployer(EmployerDto dto) { Employer obj = Employer.createEmployer(dto.EmployerId, dto.EmployerName); EmployerManager mgr = new EmployerManager(); return mgr.insertEmployer(obj); }