C# 클래스 SchoolsSystem.Services.DataMappers.Extensions

파일 보기 프로젝트 열기: vladislav-karamfilov/TelerikAcademy

공개 메소드들

메소드 설명
CreateOrLoadSchool ( SchoolDetails schoolDetails, IUnitOfWork unitOfWork ) : School
CreateOrLoadStudent ( StudentModel studentModel, IUnitOfWork unitOfWork ) : Student

메소드 상세

CreateOrLoadSchool() 공개 정적인 메소드

public static CreateOrLoadSchool ( SchoolDetails schoolDetails, IUnitOfWork unitOfWork ) : School
schoolDetails SchoolsSystem.DataTransferObjects.SchoolDetails
unitOfWork IUnitOfWork
리턴 SchoolsSystem.Models.School

CreateOrLoadStudent() 공개 정적인 메소드

public static CreateOrLoadStudent ( StudentModel studentModel, IUnitOfWork unitOfWork ) : Student
studentModel SchoolsSystem.DataTransferObjects.StudentModel
unitOfWork IUnitOfWork
리턴 SchoolsSystem.Models.Student