public List <IndexViewModelPlanning> initModelPlanning(string date, string salle)
        {
            List <RESERVATION_MODEL> listReservationModel = new List <RESERVATION_MODEL>();

            List <IndexViewModelPlanning> viewmodelReservation = new List <IndexViewModelPlanning>();

            listReservationModel = PlanningService.GetAll();
            viewmodelReservation = PlanningService.mappingModelViewModel(listReservationModel);

            return(viewmodelReservation);
        }
Exemple #2
0
        public List <IndexViewModelPlanning> initModelPlanning()
        {
            InitdropDownList();
            List <RESERVATION_MODEL> listReservationModel = new List <RESERVATION_MODEL>();

            List <IndexViewModelPlanning> viewmodelReservation = new List <IndexViewModelPlanning>();

            listReservationModel = PlanningService.GetAll();
            viewmodelReservation = PlanningService.mappingModelViewModel(listReservationModel);

            return(viewmodelReservation);
        }