/// <summary> /// Konstruktor kontrolera /// </summary> public TokenController(IKorisnikService korisnikService, ITokenService tokenService, IUserAgentParser userAgentParser, ILogService logService, IUlogaService ulogaService) { this.korisnikService = korisnikService; this.tokenService = tokenService; this.userAgentParser = userAgentParser; this.logService = logService; this.ulogaService = ulogaService; }
/// <summary> /// Konstruktor servisa /// </summary> public TokenService(ILifetimeScope scope, Context context, IPostavkeService postavkeService, IKorisnikService korisnikService, IUlogaService ulogaService) : base(scope) { this.context = context; this.postavkeService = postavkeService; this.korisnikService = korisnikService; this.ulogaService = ulogaService; }
public UlogaController(IUlogaService ulogaService, ILogService logService, IAuthService authService) { this.ulogaService = ulogaService; this.logService = logService; this.authService = authService; }
public UlogaController(IUlogaService service) { _service = service; }