Beispiel #1
0
        public bool GetByName()
        {
            bool res = false;

            res = RoomDAL.GetByName(this);
            return(res);
        }
Beispiel #2
0
        public bool Create()
        {
            bool res = false;

            if (!RoomDAL.GetByName(this))
            {
                res = RoomDAL.Create(this);
            }
            return(res);
        }