public virtual BOLinkStatus MapEFToBO(
            LinkStatus ef)
        {
            var bo = new BOLinkStatus();

            bo.SetProperties(
                ef.Id,
                ef.Name);
            return(bo);
        }
Beispiel #2
0
        public virtual BOLinkStatus MapModelToBO(
            int id,
            ApiLinkStatusRequestModel model
            )
        {
            BOLinkStatus boLinkStatus = new BOLinkStatus();

            boLinkStatus.SetProperties(
                id,
                model.Name);
            return(boLinkStatus);
        }