Exemplo n.º 1
0
        public bool AddUser(UserContents u)
        {
            var cl = new Ref.FileSyncModelClient();

            try {
                bool result = false;
                result = cl.AddUser(u);
                cl.Close();
                return(result);
            } catch (Exception ex) {
                cl.Abort();
                throw new ActionException("Unable to create new user account.",
                                          ActionType.User, ex);
            }
        }