Exemplo n.º 1
0
 public KoszykController(IMailService mailService)
 {
     this.mailService = mailService;
     db             = new KursyContext();
     sessionManager = new SessionManager();
     koszykManager  = new KoszykManager(sessionManager, db);
 }
Exemplo n.º 2
0
 public KoszykController(KursyContext context, IMailService maileService, ISessionMenager sessionMenager)
 {
     this.db             = context;
     this.maileService   = maileService;
     this.sessionMenager = sessionMenager;
     koszykMenager       = new KoszykMenager(sessionMenager, db);
 }
Exemplo n.º 3
0
 public KoszykMenager(ISessionMenager session, KursyContext db)
 {
     this.session = session;
     this.db      = db;
 }
Exemplo n.º 4
0
 public KoszykController()
 {
     db             = new KursyContext();
     sessionMenager = new SessionMenager();
     koszykMenager  = new KoszykMenager(sessionMenager, db);
 }
Exemplo n.º 5
0
 public HomeController(KursyContext context, ICacheProvider cache)
 {
     this.db    = context;
     this.cache = cache;
 }
Exemplo n.º 6
0
 public KursyController(KursyContext context)
 {
     this.db = context;
 }
Exemplo n.º 7
0
 public ManageController(KursyContext context, IMailService mailService)
 {
     this.db          = context;
     this.mailService = mailService;
 }