C# Class SchoolsSystem.Services.DataMappers.Extensions

Exibir arquivo Open project: vladislav-karamfilov/TelerikAcademy

Public Methods

Method Description
CreateOrLoadSchool ( SchoolDetails schoolDetails, IUnitOfWork unitOfWork ) : School
CreateOrLoadStudent ( StudentModel studentModel, IUnitOfWork unitOfWork ) : Student

Method Details

CreateOrLoadSchool() public static method

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

CreateOrLoadStudent() public static method

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