public static int GetCabinasCount(short pCustomerAcctId) { using (var _db = new Rbr_Db()) { return(CustomerAcctManager.GetDialPeerCountByAcctId(_db, pCustomerAcctId) - 1); } }