Ejemplo n.º 1
0
 public PositionController(IPositionRepository positionRepo, IUserRepository userRepo, IUserSolutionRepository userSolutionRepo)
 {
     positionRepository     = positionRepo;
     userRepository         = userRepo;
     userSolutionRepository = userSolutionRepo;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 初始化用户解决方案服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="userSolutionRepository">用户解决方案仓储</param>
 public UserSolutionService(IDbDesignerUnitOfWork unitOfWork, IUserSolutionRepository userSolutionRepository)
     : base(unitOfWork, userSolutionRepository)
 {
     UserSolutionRepository = userSolutionRepository;
 }