Example #1
0
        public IHttpActionResult GetProposalUserStatesByUserID(Int64 userID)
        {
            ProposalBusinessOperation    businessOperation = new ProposalBusinessOperation();
            List <tbl_ProposalUserState> itemsOut          = null;
            BaseOutput dbitem = businessOperation.GetProposalUserStatesByUserID(userID, out itemsOut);

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