Example #1
0
        public IHttpActionResult GetProposalUserStates()
        {
            ProposalBusinessOperation    businessOperation = new ProposalBusinessOperation();
            List <tbl_ProposalUserState> itemsOut          = null;
            BaseOutput baseOutput = businessOperation.GetProposalUserStates(out itemsOut);

            if (baseOutput.ResultCode == 1)
            {
                return(Ok(itemsOut));
            }
            else
            {
                return(Content(HttpStatusCode.BadRequest, baseOutput));
            }
        }