/// <summary> /// Stars a view showing detailed information about a single user. /// </summary> /// <param name="db">The location of the database containing all the users.</param> /// <param name="view">The view on which the detailed user information should be shown.s</param> internal static void GetUserById(IRepository <User> db, IAdminView view) { int id = TextProcessor.GetProperInt("Please enter the user ID: "); User user = db.Read(id); view.ShowDetailedInfoView(user); }