public ActionResult evaluer(int id) { cs = new CommentaireService(); eval360 eval = new eval360(); eval = ev.GetById(id); return(RedirectToAction("../Commentaire/Create", "CommentaireController", new { arg = eval.emp_U_ID })); }
// GET: Eval360/Details/5 public ActionResult Details(int id) { cs = new CommentaireService(); eval360 eval = new eval360(); eval = ev.GetById(id); ViewBag.Emp = ev.GetById(id); ViewBag.Comments = cs.GetMany(e => e.employ_U_ID == eval.emp_U_ID); return(View()); }
public CommentaireController() { cs = new CommentaireService(); }
public CommentaireController() { cmS = new CommentaireService(); us = new UserService(); }