// GET: api/AcctCategory/5
 public object Get(string id)
 {
     try
     {
         return(AcctCategoryMdl.GetAcctCategory(id));
     }
     catch (Exception e)
     {
         return(e);
     }
 }
 public object Check(string code)
 {
     try
     {
         var result = AcctCategoryMdl.GetAcctCategory(code);
         return(new { state = true, name = result.ACAT_NAME });
     }
     catch (Exception)
     {
         return(new { state = false });
     }
 }