示例#1
0
 public AksesuarService(IRepositoryAsync <ZetaCodeAksesuar> repository) : base(repository)
 {
     _repository      = repository;
     _repoKompozisyon = _repository.GetRepositoryAsync <ZetaCodeAksesuarKompozisyon>();
     _repoCompany     = _repository.GetRepositoryAsync <Company>();
     _repoPantoneRenk = _repository.GetRepositoryAsync <PantoneRenk>();
     _repoRenk        = _repository.GetRepositoryAsync <Renk>();
     _zetaCodeService = new ZetaCodeService(_repository.GetRepositoryAsync <ZetaCodes>());
     _termService     = new TermService(_repository.GetRepositoryAsync <Term>());
     _othersService   = new OthersService();
 }
示例#2
0
 public KumasFanteziService(IRepositoryAsync <ZetaCodeKumasFantazi> repository) : base(repository)
 {
     _repository                      = repository;
     _repoKumasMakine                 = _repository.GetRepositoryAsync <ZetaCodeKumasMakine>();
     _repoYikamaTalimati              = _repository.GetRepositoryAsync <ZetaCodeYikamaTalimati>();
     _repoNormalIplik                 = _repository.GetRepositoryAsync <ZetaCodeNormalIplik>();
     _repoFanteziIplik                = _repository.GetRepositoryAsync <ZetaCodeFanteziIplik>();
     _repoKumasFanteziKumasFantezi    = _repository.GetRepositoryAsync <ZetaCodeKumasFanteziKumasFantezi>();
     _repoKumasFanteziKumasOrmeDokuma = _repository.GetRepositoryAsync <ZetaCodeKumasFanteziKumasOrmeDokuma>();
     _zetaCodeService                 = new ZetaCodeService(_repository.GetRepositoryAsync <ZetaCodes>());
 }
 public HazirGiyimService(IRepositoryAsync <ZetaCodeHazirGiyim> repository) : base(repository)
 {
     _repository             = repository;
     _repoAksesuarlar        = _repository.GetRepositoryAsync <ZetaCodeHazirGiyimAksesuar>();
     _repoKumasFanteziler    = _repository.GetRepositoryAsync <ZetaCodeHazirGiyimKumasFantezi>();
     _repoKumasOrmeDokumalar = _repository.GetRepositoryAsync <ZetaCodeHazirGiyimKumasOrmeDokuma>();
     _zetaCodeService        = new ZetaCodeService(_repository.GetRepositoryAsync <ZetaCodes>());
     _repoCompany            = _repository.GetRepositoryAsync <Company>();
     _repoPantoneRenk        = _repository.GetRepositoryAsync <PantoneRenk>();
     _repoRenk        = _repository.GetRepositoryAsync <Renk>();
     _zetaCodeService = new ZetaCodeService(_repository.GetRepositoryAsync <ZetaCodes>());
     _termService     = new TermService(_repository.GetRepositoryAsync <Term>());
     _othersService   = new OthersService();
 }
        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>());
        }
示例#5
0
        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>());
        }