예제 #1
0
    public String updateResponsavel(String json)
    {
        JavaScriptSerializer js   = new JavaScriptSerializer();
        BeanResponsavel      obje = js.Deserialize <BeanResponsavel>(json);

        ResponsavelDAO resp = new ResponsavelDAO();
        int            i    = 0;

        i = resp.updateUsuario(obje);
        return(js.Serialize(i));
    }