public static string CancelReservation(int idReservation) { APICalls api = new APICalls(); int sessionUser = Convert.ToInt32(HttpContext.Current.Session["idUser"]); return(api.CancelReservation(sessionUser, idReservation).Result); }
public static string CancelReservation(int idReservation) { APICalls api = new APICalls(); int sessionUser = Convert.ToInt32(HttpContext.Current.Session["idUser"]); return(api.CancelReservation(sessionUser, idReservation).Result); }