public bool SaveRoomsBLL(Room aRoom) { if (aRoom.Floor == "" || aRoom.Type == "" || aRoom.Class == "" || aRoom.Rent == 0) { return(false); } else { RoomDAL aRoomDAL = new RoomDAL(); bool result = aRoomDAL.SaveRoomsDAL(aRoom); if (result) { return(result); } else { return(false); } } }