public async Task <IActionResult> Edit(GetEmployeeInput input) { var result = await _employeeAppService.GetAsync(input); var nationalities = await _lookupAppService.GetNationalities(); var currencies = await _lookupAppService.GetCurrencies(); var countryCodes = await _lookupAppService.GetCountryCodes(); return(View(new EditEmployeeViewModel { LookUpInfo = new LookupInfo { Nationalities = nationalities, CountryCodes = countryCodes, Currencies = currencies }, Employee = result })); }
public virtual async Task <EmployeeDetailDto> GetAsync(Guid id) { return(await _employeeAppService.GetAsync(id)); }