public virtual ApiSpaceXSpaceFeatureResponseModel MapBOToModel(
            BOSpaceXSpaceFeature boSpaceXSpaceFeature)
        {
            var model = new ApiSpaceXSpaceFeatureResponseModel();

            model.SetProperties(boSpaceXSpaceFeature.Id, boSpaceXSpaceFeature.SpaceFeatureId, boSpaceXSpaceFeature.SpaceId);

            return(model);
        }
        public virtual BOSpaceXSpaceFeature MapEFToBO(
            SpaceXSpaceFeature ef)
        {
            var bo = new BOSpaceXSpaceFeature();

            bo.SetProperties(
                ef.Id,
                ef.SpaceFeatureId,
                ef.SpaceId);
            return(bo);
        }
        public virtual SpaceXSpaceFeature MapBOToEF(
            BOSpaceXSpaceFeature bo)
        {
            SpaceXSpaceFeature efSpaceXSpaceFeature = new SpaceXSpaceFeature();

            efSpaceXSpaceFeature.SetProperties(
                bo.Id,
                bo.SpaceFeatureId,
                bo.SpaceId);
            return(efSpaceXSpaceFeature);
        }
        public virtual BOSpaceXSpaceFeature MapModelToBO(
            int id,
            ApiSpaceXSpaceFeatureRequestModel model
            )
        {
            BOSpaceXSpaceFeature boSpaceXSpaceFeature = new BOSpaceXSpaceFeature();

            boSpaceXSpaceFeature.SetProperties(
                id,
                model.SpaceFeatureId,
                model.SpaceId);
            return(boSpaceXSpaceFeature);
        }