public void AddRoom(int RoomId) { try { Functions F = new Functions(); F.AddRoom(RoomId,mvarID); F.Dispose(); } catch(Exception Err) { throw new ApplicationException(Err.Message,Err.InnerException); } }