public UnitePivot GetUnitePivot(long id)
        {
            var        item       = tiersContactsRepository.GetById((int)id);
            UnitePivot motifPivot = Mapper.Map <GES_Unite, UnitePivot>(item);

            return(motifPivot);
        }
Example #2
0
        public UnitePivot GetUnitePivot(long id)
        {
            var        item       = uniteRepository.GetById((int)id);
            UnitePivot unitePivot = Mapper.Map <GES_Unite, UnitePivot>(item);

            return(unitePivot);
        }
Example #3
0
 public Unite GetById(int id)
 {
     try
     {
         var res = _UniteRepository.GetById(id);
         return(res);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }