public virtual BOLinkLog MapEFToBO(
            LinkLog ef)
        {
            var bo = new BOLinkLog();

            bo.SetProperties(
                ef.Id,
                ef.DateEntered,
                ef.LinkId,
                ef.Log);
            return(bo);
        }
예제 #2
0
        public virtual BOLinkLog MapModelToBO(
            int id,
            ApiLinkLogRequestModel model
            )
        {
            BOLinkLog boLinkLog = new BOLinkLog();

            boLinkLog.SetProperties(
                id,
                model.DateEntered,
                model.LinkId,
                model.Log);
            return(boLinkLog);
        }