public int Cancel() { var bookId = int.Parse(System.Web.HttpContext.Current.Request.Form["bookId"]); return(rooms.CancelBooking(bookId, 0) ? 0 : 1); }