static public User getUser(int id) { USER tempUser = _eUser.Find(id); // go to EBook in repository, get the book from the database User user = Mapper.Map <User>(tempUser); // save book as Book object in Service return(user); }