コード例 #1
0
        public IHttpActionResult GetCode()
        {
            Int64 code;

            InvoicesB invoiceB = new InvoicesB();

            code = invoiceB.GetCode();

            return(Ok(code));
        }
コード例 #2
0
        // GET: Client Code
        public JsonResult GetCode(string id)
        {
            var code = invoicesB.GetCode();

            return(Json(code, JsonRequestBehavior.AllowGet));
        }