Exemplo n.º 1
0
 public PasController(IAngazovanjeService serviceAngazovanje, IPasService service, IObukaService serviceObuka, ObukaPasaContext obukaPasaContext)
 {
     this.service            = service;
     this.serviceObuka       = serviceObuka;
     this.obukaPasaContext   = obukaPasaContext;
     this.serviceAngazovanje = serviceAngazovanje;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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);
 }
Exemplo n.º 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;
 }
Exemplo n.º 5
0
 public ObukaRepository(ObukaPasaContext context) : base(context)
 {
     this.context = context;
 }
 public AngazovanjeRepository(ObukaPasaContext context)
 {
     this.context = context;
 }
Exemplo n.º 7
0
 public InstruktorRepository(ObukaPasaContext context) : base(context)
 {
     this.context = context;
 }