示例#1
0
        public IEnumerable <PaymentTransaction> RetrieveDataPayment(string username, int?tahun, int?tahun2)
        {
            string    allNop = string.Empty;
            DataTable dt     = new DataTable();

            dt = UserTransactionData.RetrieveAllNopByUsername(username);
            if (dt != null && dt.Rows.Count > 0)
            {
                foreach (DataRow item in dt.Rows)
                {
                    allNop += "'" + item["NOP"].ToString() + "'" + ",";
                }
                allNop = allNop.Remove(allNop.Length - 1);
            }
            return(UserTransactionData.RetrieveDataPayment(allNop, tahun, tahun2).AsEnumerable <PaymentTransaction>());
        }
示例#2
0
 public IEnumerable <VwGeneratePayment> RetrieveDataPayment(string username, string nop, int month, int year)
 {
     return(UserTransactionData.RetrieveDataPayment(username, nop, month, year).AsEnumerable <VwGeneratePayment>());
 }
示例#3
0
 public IEnumerable <PaymentTransaction> RetrieveDataPayment(string username, int?tahun2)
 {
     return(UserTransactionData.RetrieveDataPayment(username, tahun2).AsEnumerable <PaymentTransaction>());
 }