public async Task OnGetAsync(Guid employeeId, Guid workExperienceId) { var dto = await _workExperienceAppService .GetEditorAsync(employeeId, workExperienceId); WorkExperience = ObjectMapper.Map <GetWorkExperienceForEditorOutput, WorkExperienceUpdateViewModel>(dto); WorkExperience.Id = workExperienceId; WorkExperience.EmployeeId = employeeId; }
public virtual async Task <GetWorkExperienceForEditorOutput> GetEditorAsync(Guid employeeId, Guid workExperienceId) { return(await _workExperienceAppService.GetEditorAsync(employeeId, workExperienceId)); }