public async Task <OrientationDto> UpdateOrientationAsync(UpdateOrientationDto input) { var orientation = await _orientationRepo.GetAsync(input.Id); ObjectMapper.Map(input, orientation); var savedOrientation = await _orientationRepo.UpdateAsync(orientation); return(ObjectMapper.Map <OrientationDto>(savedOrientation)); }
public async Task <OrientationDto> Update(UpdateOrientationDto input) { return(await _orientationAppService.UpdateOrientationAsync(input)); }