/// <summary>
 /// Generates the matrix for A new user.
 /// </summary>
 /// <param name="userID">The user ID.</param>
 public void GenerateMatrixForANewUser(int userID)
 {
     BLL.PaymentType paymentType = new PaymentType();
     paymentType.LoadAll();
     while (!paymentType.EOF)
     {
         BLL.UserPaymentType usrPayment = new UserPaymentType();
         usrPayment.AddNew();
         usrPayment.UserID        = userID;
         usrPayment.PaymentTypeID = paymentType.ID;
         usrPayment.CanAccess     = false;
         usrPayment.IsDefault     = false;
         usrPayment.Save();
         paymentType.MoveNext();
     }
 }
 /// <summary>
 /// Generates the matrix for A new user.
 /// </summary>
 /// <param name="userID">The user ID.</param>
 public void GenerateMatrixForANewUser(int userID)
 {
     BLL.PaymentType paymentType = new PaymentType();
     paymentType.LoadAll();
     while (!paymentType.EOF)
     {
         BLL.UserPaymentType usrPayment = new UserPaymentType();
         usrPayment.AddNew();
         usrPayment.UserID = userID;
         usrPayment.PaymentTypeID = paymentType.ID;
         usrPayment.CanAccess = false;
         usrPayment.IsDefault = false;
         usrPayment.Save();
         paymentType.MoveNext();
     }
 }