C# 클래스 DAL.Extensions.RoleExtension

파일 보기 프로젝트 열기: kulish-alina/HR_Project

공개 메소드들

메소드 설명
Update ( this role, RoleDTO source, IUnitOfWork uow ) : void

Maps the existing Role DTO to domain Role entity

비공개 메소드들

메소드 설명
MatchPermissions ( int value, IPermissionRepository repository ) : IEnumerable

The method that matches incoming number to a collection of permissions

메소드 상세

Update() 공개 정적인 메소드

Maps the existing Role DTO to domain Role entity
public static Update ( this role, RoleDTO source, IUnitOfWork uow ) : void
role this An object to assign data
source DAL.DTO.RoleDTO A DTO to take data from
uow IUnitOfWork A facade of repositories
리턴 void