Ejemplo n.º 1
0
        public List <BreedBLL> BreedGetAll(int Skip, int Take)
        {
            List <BreedBLL> proposedRV = new List <BreedBLL>();

            try
            {
                List <BreedDAL> items = _dalcont.BreedGetAll(Skip, Take);
                foreach (BreedDAL item in items)
                {
                    BreedBLL correctedItem = new BreedBLL(item);
                    proposedRV.Add(correctedItem);
                }
            }
            catch (Exception ex)
            {
                Logger.Logger.Log(ex);
            }
            return(proposedRV);
        }