public UserDto GetUserWithCache(UserNameWrapper userNameWrapper)
 {
     return _redisCacheHelper.GetCachedResult(
         () => GetUserDto(userNameWrapper),
         () => _keyGenerator.GetKey(userNameWrapper)
         );
 }
 private UserDto GetUserDto(UserNameWrapper userNameWrapper)
 {
     return _repository.GetUser(userNameWrapper.Name).MapUserToUserDto();
 }
 public UserDto GetUserNoCache(UserNameWrapper userNameWrapper)
 {
     return GetUserDto(userNameWrapper);
 }