public async Task <ComponentDto> GetAsync(Guid id) { return(_mapper.Map <ComponentDto>(await _repository.GetAsync(id))); }