public List <UtilisateurView> FilterByNom(string paramsNom) { List <UtilisateurView> listeUtilisateur = UtilisateurTools.listTolistV(_unitOfWork.UtilisateurRepository.Get(null, null, _includeString).ToList()); List <UtilisateurView> newList = listeUtilisateur.Where(x => x.Nom == paramsNom).ToList(); return(newList); }
public List <UtilisateurView> GetAll() { List <UtilisateurView> listeUtilisateur = UtilisateurTools.listTolistV(_unitOfWork.UtilisateurRepository.Get(null, null, _includeString).ToList()); return(listeUtilisateur); }