public virtual BOStudentXFamily MapEFToBO(
            StudentXFamily ef)
        {
            var bo = new BOStudentXFamily();

            bo.SetProperties(
                ef.Id,
                ef.FamilyId,
                ef.StudentId);
            return(bo);
        }
Example #2
0
        public virtual BOStudentXFamily MapModelToBO(
            int id,
            ApiStudentXFamilyRequestModel model
            )
        {
            BOStudentXFamily boStudentXFamily = new BOStudentXFamily();

            boStudentXFamily.SetProperties(
                id,
                model.FamilyId,
                model.StudentId);
            return(boStudentXFamily);
        }