コード例 #1
0
 public RoleService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork             = unitOfWork;
     roleRepository              = unitOfWork.RoleRepository;
     operationCategoryRepository = unitOfWork.OperationCategoryRepository;
     operationRepository         = unitOfWork.OperationRepository;
     menuRepository              = unitOfWork.MenuRepository;
 }
コード例 #2
0
 public AuthorizationService(IControlRoomUnitOfWork unitOfWork)
 {
     this.unitOfWork             = unitOfWork;
     operationCategoryRepository = unitOfWork.OperationCategoryRepository;
     operationRepository         = unitOfWork.OperationRepository;
     roleRepository = unitOfWork.RoleRepository;
     userRepository = unitOfWork.UserRepository;
     pageRepository = unitOfWork.PageRepository;
     menuRepository = unitOfWork.MenuRepository;
 }