// 撤销
        public void Back()
        {
            var stream = new StreamReader(Request.InputStream);
            var str    = stream.ReadToEnd();
            JavaScriptSerializer js = new JavaScriptSerializer();
            var codes = js.Deserialize <List <string> >(str);

            server.Back(codes[0], codes[1]);
        }
Exemplo n.º 2
0
 // 撤销台账中的记录
 public ActionResult Backout(string dbid, string backrea)
 {
     exemplarServer.Back(dbid, backrea);
     return(RedirectToAction("Index", "Ledger", new { area = "" }));
 }