public EmploymentDto Get(Guid guid) { var state = _employmentStateRepository.GetEmploymentState(guid); return(new EmploymentDto(state)); }
public IEmployment GetEmployment(Guid guid) { var state = _repo.GetEmploymentState(guid); return(new Employment(state, _repo)); }