コード例 #1
0
        public List <EntrepriseView> GetAll()
        {
            List <EntrepriseView> listeEntreprise = EntrepriseTools.listToListV(_unitOfWork.EntrepriseRepository.Get(null, null, _includeString).ToList());

            return(listeEntreprise);
        }
コード例 #2
0
        public EntrepriseView Get(Guid idEntreprise)
        {
            EntrepriseView entreprise = EntrepriseTools.EnToEnV(_unitOfWork.EntrepriseRepository.GetById(idEntreprise, _includeString));

            return(entreprise);
        }