Exemple #1
0
 public Entities.User GetById(int id)
 {
     using (var client = new AuthenticationServiceClient())
     {
         AuthenticationService.User user = client.GetAll().ToList().First(authUser => authUser.Id == id);
         return(ServiceMapper.Mapper.Map <Entities.User>(user));
     }
 }