Example #1
0
        /// <summary>
        /// Returns the room lookup.
        /// </summary>
        /// <returns>The room lookup.</returns>
        public List <RoomLookupDto> GetRoomLookup()
        {
            this.SetResponseHeaderCacheExpiration();

            AccountPassword      credentials    = this.GetCredentialsFromRequest();
            AccountServerService accountService = new AccountServerService();
            Guid accountId = accountService.GetAccountId(credentials.Account);

            RoomServerService service = new RoomServerService();

            return(service.GetRoomLookup(accountId));
        }