public virtual BOEvent MapEFToBO(
            Event ef)
        {
            var bo = new BOEvent();

            bo.SetProperties(
                ef.Id,
                ef.Address1,
                ef.Address2,
                ef.CityId,
                ef.Date,
                ef.Description,
                ef.EndDate,
                ef.Facebook,
                ef.Name,
                ef.StartDate,
                ef.Website);
            return(bo);
        }
        public virtual BOEvent MapModelToBO(
            int id,
            ApiEventRequestModel model
            )
        {
            BOEvent boEvent = new BOEvent();

            boEvent.SetProperties(
                id,
                model.Address1,
                model.Address2,
                model.CityId,
                model.Date,
                model.Description,
                model.EndDate,
                model.Facebook,
                model.Name,
                model.StartDate,
                model.Website);
            return(boEvent);
        }