public static UsersProfile FindUserProfileByHandle(string handle) { var user = UsersDataAccess.FindUserByHandle(handle); var userPosts = PostsDataAccess.FindUserPosts(user.Email); return(new UsersProfile(user, userPosts)); }
public static UsersProfile FindUserProfileByHandle(string handle) { var user = UsersDataAccess.FindUserByHandle(handle); var userPosts = PostsDataAccess.FindUserPosts(user.Email); return(new UsersProfile(user, userPosts)); }