示例#1
0
        public static List <Item> GetAll(int tareaId)
        {
            try
            {
                List <Item>       lista;
                List <ItemEntity> entities;

                entities = ItemDao.GetAll(tareaId);
                lista    = ItemMapper.GetAll(entities);

                return(lista);
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#2
0
 public List <Item> GetAll()
 {
     return(_itemDao.GetAll().Where(i => !i.IsDeleted).ToList());
 }