示例#1
0
 private void UpdateTotalPoints()
 {
     view.UpdatePoints(connectToDatabase.TotalPoints(user.Username));
 }
示例#2
0
 /// <summary>
 /// Get the total amount of points.
 /// </summary>
 /// <returns>Total number of points the user has achieved by summating all activities.</returns>
 public int TotalPoints()
 {
     return(connectToDatabase.TotalPoints(Username));
 }