/// <summary> /// Gets the earnings of all sold books and sends it to the veiw for print out /// </summary> /// <param name="admin">Takes a user with admin priviliges</param> private static void Earnings(User admin) { AdminView.Earnings(api.MoneyEarned(admin.Id)); }