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

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