Ejemplo n.º 1
0
        /// <summary>
        /// Get Fake User to used it when the clients are in offline mode.
        /// In only to use in the demos without internet
        /// </summary>
        /// <returns>RegisteredUser</returns>
        public RegisteredUser GetFakeRegisteredUser()
        {
            int fakeUserId = Int32.Parse(WebConfigurationManager.AppSettings["fakeUserId"]);

            return(_registeredUserRepository.GetById(fakeUserId));
        }