public static void PushLastViewedVacancy(this IUserDataProvider userData, LastViewedVacancy lastViewedVacancy) { userData.Push(CandidateDataItemNames.LastViewedVacancy, string.Format("{0}_{1}", lastViewedVacancy.Type, lastViewedVacancy.Id)); }
protected static bool HasToPopulateDistance(int id, string distance, LastViewedVacancy lastVacancy) { return(!string.IsNullOrWhiteSpace(distance) && lastVacancy != null && lastVacancy.Id == id); }