Пример #1
0
 public MiscRepository(ProjectDbContext dbContext,
                       PosjedujeRepository posjeduje,
                       KorisnikRepository korisnik,
                       RacunarRepository racunar,
                       VlasnikRacunaraRepository vlasnikRacunaraRepo)
 {
     dbCtx = dbContext;
     posjedujeRepository       = posjeduje;
     korisnikRepository        = korisnik;
     racunarRepository         = racunar;
     vlasnikRacunaraRepository = vlasnikRacunaraRepo;
 }
Пример #2
0
 public KorisnikRepository(ProjectDbContext context, VlasnikRacunaraRepository racunaraRepository, ServiserRacunaraRepository serviserRacunara)
 {
     dbCtx = context;
     vlasnikRacunaraRepository  = racunaraRepository;
     serviserRacunaraRepository = serviserRacunara;
 }