public virtual ApiConfigurationResponseModel MapBOToModel(
            BOConfiguration boConfiguration)
        {
            var model = new ApiConfigurationResponseModel();

            model.SetProperties(boConfiguration.Id, boConfiguration.JSON);

            return(model);
        }
        public virtual BOConfiguration MapEFToBO(
            Configuration ef)
        {
            var bo = new BOConfiguration();

            bo.SetProperties(
                ef.Id,
                ef.JSON);
            return(bo);
        }
        public virtual Configuration MapBOToEF(
            BOConfiguration bo)
        {
            Configuration efConfiguration = new Configuration();

            efConfiguration.SetProperties(
                bo.Id,
                bo.JSON);
            return(efConfiguration);
        }
        public virtual BOConfiguration MapModelToBO(
            string id,
            ApiConfigurationRequestModel model
            )
        {
            BOConfiguration boConfiguration = new BOConfiguration();

            boConfiguration.SetProperties(
                id,
                model.JSON);
            return(boConfiguration);
        }