public virtual ApiPostHistoryTypeResponseModel MapBOToModel(
            BOPostHistoryType boPostHistoryType)
        {
            var model = new ApiPostHistoryTypeResponseModel();

            model.SetProperties(boPostHistoryType.Id, boPostHistoryType.Type);

            return(model);
        }
        public virtual BOPostHistoryType MapEFToBO(
            PostHistoryType ef)
        {
            var bo = new BOPostHistoryType();

            bo.SetProperties(
                ef.Id,
                ef.Type);
            return(bo);
        }
        public virtual PostHistoryType MapBOToEF(
            BOPostHistoryType bo)
        {
            PostHistoryType efPostHistoryType = new PostHistoryType();

            efPostHistoryType.SetProperties(
                bo.Id,
                bo.Type);
            return(efPostHistoryType);
        }
        public virtual BOPostHistoryType MapModelToBO(
            int id,
            ApiPostHistoryTypeRequestModel model
            )
        {
            BOPostHistoryType boPostHistoryType = new BOPostHistoryType();

            boPostHistoryType.SetProperties(
                id,
                model.Type);
            return(boPostHistoryType);
        }