Exemplo n.º 1
0
        public List <ArmyModelBLL> ArmyModelsFindByArmyID(int ArmyID, int Skip, int Take)
        {        // grabs a list of models that are included in given army by armyID
            List <ArmyModelBLL> ReturnValue = new List <ArmyModelBLL>();
            List <ArmyModelDAL> items       = _context.ArmyModelsFindByArmyID(ArmyID, Skip, Take);

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