public virtual ApiCountryRegionResponseModel MapBOToModel(
            BOCountryRegion boCountryRegion)
        {
            var model = new ApiCountryRegionResponseModel();

            model.SetProperties(boCountryRegion.CountryRegionCode, boCountryRegion.ModifiedDate, boCountryRegion.Name);

            return(model);
        }
        public virtual BOCountryRegion MapEFToBO(
            CountryRegion ef)
        {
            var bo = new BOCountryRegion();

            bo.SetProperties(
                ef.CountryRegionCode,
                ef.ModifiedDate,
                ef.Name);
            return(bo);
        }
        public virtual CountryRegion MapBOToEF(
            BOCountryRegion bo)
        {
            CountryRegion efCountryRegion = new CountryRegion();

            efCountryRegion.SetProperties(
                bo.CountryRegionCode,
                bo.ModifiedDate,
                bo.Name);
            return(efCountryRegion);
        }
        public virtual BOCountryRegion MapModelToBO(
            string countryRegionCode,
            ApiCountryRegionRequestModel model
            )
        {
            BOCountryRegion boCountryRegion = new BOCountryRegion();

            boCountryRegion.SetProperties(
                countryRegionCode,
                model.ModifiedDate,
                model.Name);
            return(boCountryRegion);
        }