// GET: api/Account/ public dynamic Get(string code) { try { return(AccountPeriodMdl.get_accountperiod(code)); } catch (Exception e) { return(new { state = false, message = "Server Error", exception = e }); } }