Exemplo n.º 1
0
        public static TransactionCollection GetByAccount(int accountId)
        {
            TransactionCollection obj = new TransactionCollection();
            DataSet ds = new DAL.Transactions().GetByAccountId(accountId);

            obj.MapObjects(ds);
            return(obj);
        }
Exemplo n.º 2
0
        public static TransactionCollection GetByDate(DateTime from, DateTime to)
        {
            TransactionCollection obj = new TransactionCollection();
            DataSet ds = new DAL.Transactions().GetByDate(from, to);

            obj.MapObjects(ds);
            return(obj);
        }