public ProjectController() { ps = new ProjectService(); cs = new ClientService(); comps = new CompetenceService(); us = new UserService(); }
public ActionResult TableauCompetences() { ICompetenceService listCompetences = new CompetenceService(); var vm = listCompetences.GetCompetenceList(); return(PartialView("TableauCompetences", vm)); }
public ActionResult Index() { ICompetenceService listCompetences = new CompetenceService(); var vm = listCompetences.GetCompetenceList(); return(View(vm)); }
public ActionResult ModifierCompetence(EditCompetence ediCompetence) { using (Context c = new Context()) { var competence = c.COMPETENCE.First(a => a.id == ediCompetence.id); competence.id = ediCompetence.id; competence.intitule = ediCompetence.intitule; competence.id_TYPE_COMPETENCE = ediCompetence.id_TYPE_COMPETENCE; ICompetenceService userService = new CompetenceService(); userService.ModifierCompetence(competence); } return(View()); }
public CompetenceController() { cs = new CompetenceService(); rs = new RessourceService(); }
public RestfullCController() { cs = new CompetenceService(); }
public CompetenceApiController() { _compService = new CompetenceService(_db); }