public VojvodasController(IVojvodaRepository vojvodaRepository) { this.vojvodaRepository = vojvodaRepository; }
public VojvodasController() { this.vojvodaRepository = new VojvodaRepository(new WebAppContext()); }
public VojvodasController(IVojvodaRepository vojvodaRepository) { this.vojvodaRepository = vojvodaRepository; }
public VojvodasController() { this.vojvodaRepository = new VojvodaRepository(new WebAppContext()); }