public LevelContentResourceService(IDownloadService downloadService, int levelId, IConstants constants)
{
this.downloadService = downloadService;
this.ModuleId = levelId;
// Get all course content.
this.fullContentLink = new Uri(constants.ServicePrefix + string.Format(levelLink, this.ModuleId, constants.CultureCode, constants.SiteVersion, constants.PartnerCode));
// Download activity content.
this.Content = downloadService.DownloadFromPath(this.fullContentLink);
}