public static PersistenceManager GetInstance()
        {
            if (instance == null)
                instance = new PersistenceManager();

            return instance;
        }
        private PaymentController()
        {
            pm = PersistenceManager.GetInstance();

            paymentsView = pm.GetPaymentsView();
            customersView = pm.GetCustomersView();

            paymentsView.AllowDelete = false;
            paymentsView.AllowEdit = true;
            paymentsView.AllowNew = false;
            customersView.AllowDelete = false;
            customersView.AllowEdit = true;
            customersView.AllowNew = false;
        }