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); }
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); }