public DTO.User Get(GetUserRequest request) { try { var user = _userRepository.FindBy(request.Id); user.ThrowExceptionIfRecordIsNull(); return(_userFactory.Execute(user)); } catch (DataAccessException) { throw new ApplicationException(); } }