Ejemplo n.º 1
0
        /// <summary>
        /// Adds the User object in the context to the data store.
        /// </summary>
        /// <returns>
        /// The ResultCode corresponding to the result of the operation.
        /// </returns>
        public ResultCode AddUser()
        {
            Context.Log.Verbose("Attempting to add the User to the data store.");
            ResultCode result = UserOperations.AddOrUpdateUser();

            Context.Log.Verbose("ResultCode after adding the User to the data store: {0}", result);

            return(result);
        }