Example #1
0
 /// <summary>
 /// Method for getting the best customer and pass it on to the view
 /// </summary>
 /// <param name="admin">Takes a user with admin priviliges</param>
 private static void BestCustomer(User admin)
 {
     AdminView.BestCustomer(api.BestCustomer(admin.Id));
 }