public PartialViewResult SetJourEtHeure(int activiteElementId) { var vm = new JourEtHeureVM() { ActiviteElementId = activiteElementId }; return(PartialView(vm)); }
public PartialViewResult SetJourEtHeure(JourEtHeureVM vm) { vm.ActiviteElementDetailsId = ActiviteDAO.AddElementTime(vm.ActiviteElementId, vm.Entity); return(PartialView(vm)); }