Example #1
0
        public IHttpActionResult AddProposalUserGroup(tbl_ProposalUserGroup item)
        {
            ProposalBusinessOperation businessOperation = new ProposalBusinessOperation();
            tbl_ProposalUserGroup     itemOut           = null;
            BaseOutput baseOutput = businessOperation.AddProposalUserGroup(item, out itemOut);

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