예제 #1
0
        public List <ArmyBLL> ArmiesFindByUserID(int UserID, int Skip, int Take)
        {        // retrieves all armies by userID, skip/take are for future functionality
            List <ArmyBLL> ReturnValue = new List <ArmyBLL>();
            List <ArmyDAL> items       = _context.ArmiesFindByUserID(UserID, Skip, Take);

            foreach (ArmyDAL item in items)
            {
                ArmyBLL NewItem = new ArmyBLL(item);
                ReturnValue.Add(NewItem);
            }
            return(ReturnValue);
        }