public List <lockingTypeCompositeType> getAllLockingType() { List <lockingTypeCompositeType> lst = new List <lockingTypeCompositeType>(); LockingType et = new LockingType(); lst = et.getAll(); return(lst); }
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); } }