/// <summary> /// The get another user. /// </summary> /// <param name="BookTidOnlineWebShell"> /// The wrap Track Web Shell. /// </param> /// <returns> /// The <see cref="string"/>. /// </returns> protected string GetAnotherUser(IBookTidOnlineWebShell BookTidOnlineWebShell = null) { var currentShell = BookTidOnlineWebShell ?? BookTidOnlineShell; var currentUser = currentShell.CurrentLoggedInUser; var retVal = "mie88"; if (currentUser.Equals("mie88", StringComparison.InvariantCultureIgnoreCase)) { retVal = "ida88"; } return(retVal); }
/// <summary> /// Initializes a new instance of the <see cref="BookTidOnlineWebShellModelBase"/> class. /// </summary> /// <param name="bookTidOnlineWebShell"> /// The book Tid Online Web Shell. /// </param> protected BookTidOnlineWebShellModelBase(IBookTidOnlineWebShell bookTidOnlineWebShell) { BookTidOnlineWebShell = bookTidOnlineWebShell; WebAdapter = BookTidOnlineWebShell.WebAdapter; }