示例#1
0
 // GET: api/Intermediary
 public object Get()
 {
     try
     {
         return(IntermediaryCommissionMdl.get_intermcomms());
     }
     catch (Exception e)
     {
         return(new { state = false, message = "Server Error", exception = e });
     }
 }
示例#2
0
        public object lov_intermcomm(InterInsComLOV intcomJson)
        {
            try
            {
                var interCommList = IntermediaryCommissionMdl.get_intermcomms(intcomJson.PROD_CODE);

                return(interCommList.ToList());
            }
            catch (Exception e)
            {
                return(new { state = false, message = "Server Error", exception = e });
            }
        }