public AccountController(UserManager <ApplicationUser> userManager,
                          SignInManager <ApplicationUser> signInManager, ProdavnicadbContext _db)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     db             = _db;
 }
Beispiel #2
0
 public KupovinaController(ProdavnicadbContext _db, UserManager <ApplicationUser> _um, KorpaServis _kServis)
 {
     db      = _db;
     um      = _um;
     kServis = _kServis;
 }
 public HomeController(ILogger <HomeController> logger, ProdavnicadbContext _db)
 {
     _logger = logger;
     db      = _db;
 }
 public KorpaController(ProdavnicadbContext _db, KorpaServis _ks)
 {
     db = _db;
     ks = _ks;
     k  = ks.CitajKorpu();
 }