public RacunService(IRacunRepository repository, IKupacRepository kupacRepository, IUdrugaRepository udrugaRepository, IRacunStavkaRepository stavkaRepository, IRacunRepository racunRepository, IProizvodRepository proizvodRepository, IClanRepository clanRepository) { this.Repository = repository; this.KupacRepository = kupacRepository; this.UdrugaRepository = udrugaRepository; this.StavkaRepository = stavkaRepository; this.RacunRepository = racunRepository; this.ProizvodRepository = proizvodRepository; this.ClanRepository = clanRepository; }
public ProizvodiController(IProizvodRepository repository) { _repository = repository; }
public ProizvodService(IProizvodRepository repository) { this.Repository = repository; }
public ProizvodController() { proizvodRepository = new ProizvodSqlRepository(); }
public ProizvodController(IUnitOfWork unitOfWork, IProizvodRepository proizvodRepository) { this.unitOfWork = unitOfWork; this.proizvodRepository = proizvodRepository; }