// GET: api/Intermediary public object Get() { try { return(IntermediaryCommissionMdl.get_intermcomms()); } catch (Exception e) { return(new { state = false, message = "Server Error", exception = e }); } }
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 }); } }