public static void addRezConf(string username, string confName) { utils.DbUtils dbUtil = new utils.DbUtils(); int id = dbUtil.getIdOfConference(confName); if (dbUtil.areSlots(confName)) { System.Diagnostics.Debug.Write("YUHUUUUUUUUUU"); dbUtil.addRezervationConference(id, username); dbUtil.decreaseSeatsConference(id); } else { dbUtil.cancelAnything(username, HttpContext.Current.Session["hotel"].ToString(), HttpContext.Current.Session["flight"].ToString()); } }