예제 #1
0
 private void Del_ByIDLang(HttpContext context)
 {
     AlbumsBO albumsBO = new AlbumsBO();
     String jSonString = "";
     int idLang = Convert.ToInt32(context.Request.QueryString["IDLang"]);
     int ret = albumsBO.Del_ByIDLang(idLang);
     if (ret != 0) jSonString = "{\"status\": \"success\"}";
     if (ret == 0) jSonString = "{\"status\":\"error|" + ret + "\"}";
     context.Response.Write(jSonString);
 }