Ejemplo n.º 1
0
        public decimal GetGoalAmount(String username, String password)
        {
            List <GoalDB> returningValue = (List <GoalDB>)GoalController.Instance().ParseOneUserGoal(username, password);

            if (returningValue.Count > 0)
            {
                return(returningValue[0].goalAmount);
            }
            else
            {
                return(0m);
            }
        }
Ejemplo n.º 2
0
 public int TimeLeftUntilGoal(String username, String password)
 {
     return(GoalController.Instance().GetMonthCountUntilGoalIsReachedOneUser(username, password));
 }
Ejemplo n.º 3
0
 public int TimeLeftUntilGoal()
 {
     return(GoalController.Instance().GetMonthCountUntilGoalIsReached());
 }
Ejemplo n.º 4
0
        public decimal GetGoalAmount()
        {
            List <GoalDB> returningValue = (List <GoalDB>)GoalController.Instance().ParseGoal();

            return(returningValue[0].goalAmount);
        }