コード例 #1
0
ファイル: PositionAppService.cs プロジェクト: feelhum/hero
 public PositionAppService(IPositionDomainService positionDomainService,
                           IDapperRepository <Domain.Positions.Position, long> positionRepository,
                           IDapperRepository <Domain.Department, long> departmentRepository)
 {
     _positionDomainService = positionDomainService;
     _positionRepository    = positionRepository;
     _departmentRepository  = departmentRepository;
 }
コード例 #2
0
ファイル: DepartmentDomainService.cs プロジェクト: ligg/hero
 public DepartmentDomainService(IDapperRepository <Department, long> departmentRepository,
                                IDapperRepository <Corporation, long> corporationRepository,
                                IDapperRepository <Position, long> positionRepository,
                                IDapperRepository <Organization, long> organizationRepository,
                                IPositionDomainService positionDomainService)
 {
     _departmentRepository   = departmentRepository;
     _corporationRepository  = corporationRepository;
     _positionRepository     = positionRepository;
     _organizationRepository = organizationRepository;
     _positionDomainService  = positionDomainService;
 }