// GET: api/Section/
 public dynamic Get(string code)
 {
     try
     {
         return(SectionMdl.get_section(code));
     }
     catch (Exception e)
     {
         return(new { state = false, message = "Server Error", exception = e });
     }
 }
 public object Check(string code)
 {
     try
     {
         var result = SectionMdl.get_section(code);
         return(result != null ? (object)new { state = true, name = result.SEC_NAME } : new { state = false });
     }
     catch (Exception e)
     {
         return(new { state = false, message = "Server Error", exception = e });
     }
 }