public FanteziIplikService(IRepositoryAsync <ZetaCodeFanteziIplik> repository) : base(repository) { _repository = repository; _termService = new TermService(_repository.GetRepositoryAsync <Term>()); _othersService = new OthersService(); _repoFanteziIplikPicture = _repository.GetRepositoryAsync <ZetaCodeFanteziIplikPicture>(); _repoNormalIplik = _repository.GetRepositoryAsync <ZetaCodeNormalIplik>(); _repoFanteziIplikNormalIplik = _repository.GetRepositoryAsync <ZetaCodeFanteziIplikNormalIplik>(); _zetaCodeService = new ZetaCodeService(_repository.GetRepositoryAsync <ZetaCodes>()); _renkService = new RenkService(_repository.GetRepositoryAsync <Renk>()); _pantoneRenkService = new PantoneRenkService(_repository.GetRepositoryAsync <PantoneRenk>()); _companyService = new CompanyService(_repository.GetRepositoryAsync <Company>()); }
public ZetaCodeNormalIplikService(IRepositoryAsync <ZetaCodeNormalIplik> repository) : base(repository) { _repository = repository; _renkService = new RenkService(_repository.GetRepositoryAsync <Renk>()); _pantoneRenkService = new PantoneRenkService(_repository.GetRepositoryAsync <PantoneRenk>()); _iplikNoService = new IplikNoService(_repository.GetRepositoryAsync <IplikNo>()); _repoDegrede = repository.GetRepositoryAsync <IplikKategoriDegrede>(); _repoFlam = repository.GetRepositoryAsync <IplikKategoriFlam>(); _repoKircili = repository.GetRepositoryAsync <IplikKategoriKircili>(); _repoKrep = repository.GetRepositoryAsync <IplikKategoriKrep>(); _repoNopeli = repository.GetRepositoryAsync <IplikKategoriNopeli>(); _repoSim = repository.GetRepositoryAsync <IplikKategoriSim>(); _termService = new TermService(_repository.GetRepositoryAsync <Term>()); _othersService = new OthersService(); _companyService = new CompanyService(_repository.GetRepositoryAsync <Company>()); _zetaCodeService = new ZetaCodeService(_repository.GetRepositoryAsync <ZetaCodes>()); }