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;
 }
示例#2
0
 public ProizvodiController(IProizvodRepository repository)
 {
     _repository = repository;
 }
 public ProizvodService(IProizvodRepository repository)
 {
     this.Repository = repository;
 }
 public ProizvodController()
 {
     proizvodRepository = new ProizvodSqlRepository();
 }
示例#5
0
 public ProizvodController(IUnitOfWork unitOfWork, IProizvodRepository proizvodRepository)
 {
     this.unitOfWork         = unitOfWork;
     this.proizvodRepository = proizvodRepository;
 }