public User GetUser(int id)
        {
            User userbd = null;

            userbd = userController.GetUser(id);

            if (userbd == null)
            {
                var msg =
                    string.Format("No user found for id {0}",
                                  id);
                var reason = "GetUser Empty User";
                throw new Exception(reason);
            }
            var user = new User();

            TranslateUserBDOToUserDTO(userbd, user);
            return(user);
        }
 public UserB GetUser(int id)
 {
     return(userCtr.GetUser(id));
 }