C# Class SchoolsSystem.Services.DataMappers.StudentsMapper

Datei anzeigen Open project: vladislav-karamfilov/TelerikAcademy

Public Methods

Method Description
ToStudentEntity ( StudentModel studentModel, IUnitOfWork unitOfWork ) : Student
ToStudentModel ( Student studentEntity ) : StudentModel

Method Details

ToStudentEntity() public static method

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

ToStudentModel() public static method

public static ToStudentModel ( Student studentEntity ) : StudentModel
studentEntity SchoolsSystem.Models.Student
return SchoolsSystem.DataTransferObjects.StudentModel