public ActionResult list_demandes_manager() { ICongeService s = new CongeService(); List <conge> l = new List <conge>(); l = s.list_demandes_enAttente(); return(View(l)); }
public ActionResult consulterMesConges() { ICongeService s = new CongeService(); List <conge> l = new List <conge>(); l = s.consulterMesProjets(1); return(View(l)); }
// GET: conges/listCongeParEmploye/id public ActionResult listCongeParEmploye(int id) { IUnitOfWork Uok = new UnitOfWork(Factory); ICongeService s = new CongeService(); List <conge> l = new List <conge>(); l = s.getCongesParEmploye(id); return(View(l)); }
// GET: conges public ActionResult Index() { ICongeService s = new CongeService(); List <conge> l = new List <conge>(); l = s.consulterMesProjets(1); return(View(l)); /*var conge = db.conge.Include(c => c.employe); * return View(conge.ToList());*/ }
public CongeController(CongeService a) { this.a = a; }