public virtual async Task <SalaryListDto> UpdateAsync(Guid id, SalaryUpdateDto input) { Salary entity = await _salaryRepository.GetAsync(id); entity = ObjectMapper.Map(input, entity); entity = await _salaryRepository.UpdateAsync(entity); return(ObjectMapper.Map <Salary, SalaryListDto>(entity)); }
public virtual async Task <SalaryListDto> UpdateAsync(Guid id, SalaryUpdateDto input) { return(await _salaryAppService.UpdateAsync(id, input)); }