static void Main(string[] args) { BE.Guest Aaron = new BE.Guest { FirstName = "Aaron", LastName = "Russell", ID = 325647896, Email = "*****@*****.**" }; BE.GuestRequest GR1 = new BE.GuestRequest { GuestRequestKey = 10000010, Totalcomission = 0, GuestPersonalDetails = Aaron, Status = BE.DemandStatusTypes.Open, RegistrationDate = new DateTime(2020, 4, 10), EntryDate = new DateTime(2020, 5, 15), ReleaseDate = new DateTime(2020, 6, 20), Areas = new List <BE.AreaTypes>() { BE.AreaTypes.North, BE.AreaTypes.Center }, SunbAreas = new List <String>() { "Ranana", "Modiin" }, Type = BE.HostingUnitTypes.HotelRoom, Adults = 3, Children = 4, Pool = BE.RequirementTypes.No, HotTub = BE.RequirementTypes.Yes, Garden = BE.RequirementTypes.Yes, ChildrenAttractions = BE.RequirementTypes.Yes }; BE.Host H = new BE.Host(); BE.HostingUnit HU = new BE.HostingUnit(); BE.Order O = new BE.Order(); BL.BL_imp bl = new BL.BL_imp(); bl.AddGuestRequest(GR1); bl.UpdateGuestRequest(BE.DemandStatusTypes.Expired, 10000010); Console.WriteLine("aaaaaaaaaaa working ok"); Console.ReadKey(); }