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

            bo.SetProperties(
                ef.Id,
                ef.AutoId,
                ef.Category,
                ef.EnvironmentId,
                ef.JSON,
                ef.Message,
                ef.Occurred,
                ef.ProjectId,
                ef.RelatedDocumentIds,
                ef.TenantId,
                ef.UserId,
                ef.Username);
            return(bo);
        }
        public virtual BOEvent MapModelToBO(
            string id,
            ApiEventRequestModel model
            )
        {
            BOEvent boEvent = new BOEvent();

            boEvent.SetProperties(
                id,
                model.AutoId,
                model.Category,
                model.EnvironmentId,
                model.JSON,
                model.Message,
                model.Occurred,
                model.ProjectId,
                model.RelatedDocumentIds,
                model.TenantId,
                model.UserId,
                model.Username);
            return(boEvent);
        }