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