コード例 #1
0
        public ActionResult list_demandes_manager()
        {
            ICongeService s = new CongeService();
            List <conge>  l = new List <conge>();

            l = s.list_demandes_enAttente();
            return(View(l));
        }
コード例 #2
0
        public ActionResult consulterMesConges()
        {
            ICongeService s = new CongeService();
            List <conge>  l = new List <conge>();

            l = s.consulterMesProjets(1);
            return(View(l));
        }
コード例 #3
0
        // 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));
        }
コード例 #4
0
        // 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;
 }