Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public virtual async Task <GetWorkExperienceForEditorOutput> GetEditorAsync(Guid employeeId, Guid workExperienceId)
 {
     return(await _workExperienceAppService.GetEditorAsync(employeeId, workExperienceId));
 }