public async Task <BaseResponse <ComputerDto> > GetComputer(Guid id) { if (!(await _computerRepository.Exists(id))) { return(BaseResponse <ComputerDto> .NotFound("Computer id not found")); } var result = await _computerRepository.Get(id); return(new BaseResponse <ComputerDto>((int)HttpStatusCode.OK, _mapper.Map <ComputerDto>(result))); }