Esempio n. 1
0
        public List <lockingTypeCompositeType> getAllLockingType()
        {
            List <lockingTypeCompositeType> lst = new List <lockingTypeCompositeType>();
            LockingType et = new LockingType();

            lst = et.getAll();
            return(lst);
        }
Esempio n. 2
0
        public bool ExistLocking(String sDescription)
        {
            var chocorroles = new LockingType();
            var swap        = chocorroles.getAll();
            var qbo         = (from s in swap where s.sDescription.Equals(sDescription) select s).Count();

            if (qbo < 1)
            {
                return(false);
            }
            else
            {
                return(true);
            }
        }