示例#1
0
        public Basic.Framework.Web.BasicResponse <DataContract.R_DeptInfo> AddDept(Sys.Safety.Request.R_Dept.R_DeptAddRequest deptRequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/R_Dept/AddDept?token=" + Token, JSONHelper.ToJSONString(deptRequest));

            return(JSONHelper.ParseJSONString <BasicResponse <R_DeptInfo> >(responseStr));
        }
 public Basic.Framework.Web.BasicResponse <Sys.Safety.DataContract.R_DeptInfo> AddDept(Sys.Safety.Request.R_Dept.R_DeptAddRequest deptRequest)
 {
     return(_deptService.AddDept(deptRequest));
 }