public virtual BOOrganization MapEFToBO(
            Organization ef)
        {
            var bo = new BOOrganization();

            bo.SetProperties(
                ef.Id,
                ef.Name);
            return(bo);
        }
Exemplo n.º 2
0
        public virtual BOOrganization MapModelToBO(
            int id,
            ApiOrganizationRequestModel model
            )
        {
            BOOrganization boOrganization = new BOOrganization();

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