public virtual BOSubscription MapEFToBO(
            Subscription ef)
        {
            var bo = new BOSubscription();

            bo.SetProperties(
                ef.Id,
                ef.IsDisabled,
                ef.JSON,
                ef.Name,
                ef.Type);
            return(bo);
        }
        public virtual BOSubscription MapModelToBO(
            string id,
            ApiSubscriptionRequestModel model
            )
        {
            BOSubscription boSubscription = new BOSubscription();

            boSubscription.SetProperties(
                id,
                model.IsDisabled,
                model.JSON,
                model.Name,
                model.Type);
            return(boSubscription);
        }