public IHttpActionResult GetProposalCommissionsByProviderID(Int64 providerID) { List <tbl_ProposalCommission> itemsOut = null; BaseOutput baseOutput = businessOperation.GetProposalCommissionsByProviderID(providerID, out itemsOut); if (baseOutput.ResultCode == 1) { return(Ok(itemsOut)); } else { return(Content(HttpStatusCode.BadRequest, baseOutput)); } }