예제 #1
0
        public LawsService(ILawRepository repoLaw,
                           ILawTransRepository lawTransRepository)
        {
            Guard.NotNull(repoLaw, nameof(repoLaw));
            Guard.NotNull(lawTransRepository, nameof(lawTransRepository));

            _repoLaw      = repoLaw;
            _repoTransLaw = lawTransRepository;
        }
예제 #2
0
파일: LawService.cs 프로젝트: junlu3/CMS
 public LawService(ILawRepository emailRepository)
 {
     this._emailRepository = emailRepository;
 }
예제 #3
0
 public LawController()
 {
     _tagRep = new TagRepository();
     _lawRep = new LawRepository();
     _hitRep = new HitRepository();
 }
예제 #4
0
 public HomeController()
 {
     _polRep = new PoliticianRepository();
     _lawRep = new LawRepository();
 }