Exemplo n.º 1
0
        public NewExpenseViewModel(Page page, Expense expense = null) : base(page)
        {
            
            if (expense == null)
            {
                Expense = new Expense();
                Title = "New Deduction";
            }
            else
            {
                Title = "Expense Details";
            }


			CategoryString = CurrentCategory;


        }
Exemplo n.º 2
0
		public NewMileageViewModel (Page page, Expense expense = null) : base(page)
		{

			if (expense == null)
			{
				Expense = new Expense();
				Title = "Mileage";
			}
			else
			{
				Title = "Mileage";
			}




		}