예제 #1
0
    private string AddTree()
    {
        string res = "";
        Dictionary <string, string> dict = new Dictionary <string, string>();

        dict.Add("name", Request.Form["name"]);
        dict.Add("parentId", Request.Form["parentId"]);
        dict.Add("parentName", Request.Form["parentName"]);
        dict.Add("companyId", GetUserInfo().companyId.ToString());
        dict.Add("remark", Request.Form["remark"]);
        res = UserInfoManage.AddTree(dict);
        return(res);
    }