Ejemplo n.º 1
0
 public SaveUserPreferencesCommandHandler(
     IUserPreferencesDomainEntity userPreferencesDomainEntity,
     IMapper mapper
     )
 {
     _userPreferencesDomainEntity = userPreferencesDomainEntity;
     _mapper = mapper;
 }
 public UserPreferencesProvider(
     IDistributedCache cache,
     ICurrentUser currentUser,
     IJsonService <UserPreferences> jsonService,
     IUserPreferencesDomainEntity userPreferencesDomainEntity
     )
 {
     _cache       = cache;
     _currentUser = currentUser;
     _jsonService = jsonService;
     _userPreferencesDomainEntity = userPreferencesDomainEntity;
 }