/// <summary>
        /// Adding a vacancy as favorite
        /// </summary>
        /// <param name="userid">id of the user that is adding the vacancy as favorite</param>
        /// <param name="vacancyid">id of the vacancy that is being added as a favorite</param>
        public void AddFavourite(int userid, int vacancyid)
        {
            Dictionary <string, object> parameters = new Dictionary <string, object>
            {
                { "@userid", userid },
                { "@vacancyid", vacancyid }
            };

            string query = @"INSERT INTO reg_vacatures_favoriet (vf_vacature_id, vf_user_id)    
                             VALUES (@vacancyid, @userid)";

            vacancyRepository.AddFavouriteVacanacy(query, parameters);
        }