		private readonly Uri _websiteUrl;

		public VacancyViewModel(DAL.Vacancy vacancy, Uri webSiteUrl, string fallbackImage = null)
		{
			_websiteUrl = webSiteUrl;
			var fallbackImageUrl = string.IsNullOrWhiteSpace(fallbackImage) ? null : new Uri(fallbackImage); 
			
			Id = vacancy.Id;
			Title = vacancy.Title;
			Image = string.IsNullOrEmpty(vacancy.Image) ? fallbackImageUrl : new Uri(vacancy.Image);
			Description = vacancy.Description;