public int AddRolepower([FromBody] string json) { RolePower rp = Newtonsoft.Json.JsonConvert.DeserializeObject <RolePower>(json); int rid = rp.Rid; int[] intLst = Newtonsoft.Json.JsonConvert.DeserializeObject <int[]>(rp.Power); return(_organization.AddRolepower(rid, intLst)); }