public AdministratorModel(UserManager <IdentityUser> userManager, IStripRepository stripRepository, IPorudzbinaRepository porudzbinaRepository, IKontaktRepository kontaktRepository) { this.userManager = userManager; this.stripRepository = stripRepository; this.porudzbinaRepository = porudzbinaRepository; this.kontaktRepository = kontaktRepository; }
public KontaktModel(IKontaktRepository kontaktRepository) { this.kontaktRepository = kontaktRepository; }
public KontaktController(IKontaktRepository repo) { repository = repo; //repository }