Beispiel #1
0
 public PasController(IAngazovanjeService serviceAngazovanje, IPasService service, IObukaService serviceObuka, ObukaPasaContext obukaPasaContext)
 {
     this.service            = service;
     this.serviceObuka       = serviceObuka;
     this.obukaPasaContext   = obukaPasaContext;
     this.serviceAngazovanje = serviceAngazovanje;
 }
Beispiel #2
0
 public InstruktorController(SignInManager <ApplicationUser> signInManager, IObukaService service, ObukaPasaContext context, UserManager <ApplicationUser> userManager)
 {
     this.service       = service;
     this.context       = context;
     this.userManager   = userManager;
     this.signInManager = signInManager;
 }
Beispiel #3
0
 public UnitOfWork(ObukaPasaContext context)
 {
     this.context          = context;
     InstruktorRepository  = new InstruktorRepository(context);
     ObukaRepository       = new ObukaRepository(context);
     PasRepository         = new PasRepository(context);
     ZadatakRepository     = new ZadatakRepository(context);
     AngazovanjeRepository = new AngazovanjeRepository(context);
 }
Beispiel #4
0
 public AdministrationController(IInstruktorService service, ObukaPasaContext context, IObukaService serviceObuka, RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ILogger <AdministrationController> logger, IConfiguration configuration)
 {
     this.roleManager   = roleManager;
     this.service       = service;
     this.serviceObuka  = serviceObuka;
     this.context       = context;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.logger        = logger;
     this.configuration = configuration;
 }
Beispiel #5
0
 public ObukaRepository(ObukaPasaContext context) : base(context)
 {
     this.context = context;
 }
 public AngazovanjeRepository(ObukaPasaContext context)
 {
     this.context = context;
 }
Beispiel #7
0
 public InstruktorRepository(ObukaPasaContext context) : base(context)
 {
     this.context = context;
 }