Example #1
0
        public IHttpActionResult DeleteProposalFavorite(Int64 id)
        {
            ProposalBusinessOperation businessOperation = new ProposalBusinessOperation();
            tbl_ProposalFavorite      itemOut           = null;
            BaseOutput baseOutput = businessOperation.DeleteProposalFavorite(id, out itemOut);

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