public async Task<OperationResult> LoadDetailedConfigurationAsync() { var getConfigResult = await _configurationService.GetDetailedConfigurationAsync(); if (getConfigResult.Success) { _detailedConfigurationCache = getConfigResult.Result; } return OperationResult.FromResult(getConfigResult); }
public CameraConfigurationRepository(ICameraConfigurationService cameraConfigurationService) { _configurationService = cameraConfigurationService; _detailedConfigurationCache = null; }