public ProductController(IArticle s1, ICommande s2, ICategorie s3, IFavoris s4, ICommentaire s5) { this.s1 = s1; this.s2 = s2; this.s3 = s3; this.s4 = s4; this.s5 = s5; ViewBag.categories = s3.getAllCategorie(); ViewBag.sessionkayna = true; }
public CommentaireController() { source = new CommentaireData(); }