Esempio n. 1
0
        private ChangeGoalCompositeViewModel GetViewModel()
        {
            var changeGoalDueDateCompositeViewModel = new ChangeGoalCompositeViewModel()
            {
                Goal = new Goal()
                {
                    GoalId = new Guid().ToString()
                }
            };

            return(changeGoalDueDateCompositeViewModel);
        }
        private ChangeGoalCompositeViewModel GetViewModel()
        {
            var changeGoalDueDateCompositeViewModel = new ChangeGoalCompositeViewModel()
            {
                Goal = new Goal()
                {
                    GoalId     = new Guid().ToString(),
                    GoalStatus = GoalStatus.Achieved,
                    DateGoalShouldBeCompletedBy = DateTime.Now.AddDays(1)
                }
            };

            return(changeGoalDueDateCompositeViewModel);
        }