public void Initialize() { var SampleDataForTheatreLayout = SampleData.TheatreLayout(); var SampleDataForCustomerRequest = SampleData.CustomerRequest(); _theatre = TheatreSeating.ArrangeSeat.BuildTheatreSeatLayout(SampleDataForTheatreLayout); _modelCustomer = TheatreSeating.Customer.GetCustomerLList(SampleDataForCustomerRequest); //sample data //seats.Add(1, new[] { 6, 6 }); //seats.Add(2, new[] { 3, 5, 5, 3 }); //seats.Add(3, new[] { 4, 6, 6, 4 }); //seats.Add(4, new[] { 2, 8, 8, 2 }); //seats.Add(5, new[] { 6, 6 }); //cusList.Add("Smith", 2); //cusList.Add("Jones", 5); //cusList.Add("Davis", 6); //cusList.Add("Wilson", 100); //cusList.Add("Johnson", 3); //cusList.Add("Willsons", 4); //cusList.Add("Brown", 8); //cusList.Add("Miller", 12); }
public void Cleanup() { _theatre = null; _modelCustomer=null; }