public LawsService(ILawRepository repoLaw, ILawTransRepository lawTransRepository) { Guard.NotNull(repoLaw, nameof(repoLaw)); Guard.NotNull(lawTransRepository, nameof(lawTransRepository)); _repoLaw = repoLaw; _repoTransLaw = lawTransRepository; }
public LawService(ILawRepository emailRepository) { this._emailRepository = emailRepository; }
public LawController() { _tagRep = new TagRepository(); _lawRep = new LawRepository(); _hitRep = new HitRepository(); }
public HomeController() { _polRep = new PoliticianRepository(); _lawRep = new LawRepository(); }