public virtual BOVote MapEFToBO(
            Vote ef)
        {
            var bo = new BOVote();

            bo.SetProperties(
                ef.Id,
                ef.BountyAmount,
                ef.CreationDate,
                ef.PostId,
                ef.UserId,
                ef.VoteTypeId);
            return(bo);
        }
        public virtual BOVote MapModelToBO(
            int id,
            ApiVoteRequestModel model
            )
        {
            BOVote boVote = new BOVote();

            boVote.SetProperties(
                id,
                model.BountyAmount,
                model.CreationDate,
                model.PostId,
                model.UserId,
                model.VoteTypeId);
            return(boVote);
        }