Example #1
0
        public void MarkTaskAsDone()
        {
            TaskDTO task = _tasks[CurrentPosition - 1];

            _provider.MarkTaskAsDone(task);

            GroupPage groupPage = new GroupPage(_group, _user);

            groupPage.Init();
        }
Example #2
0
        public void AddNewTask()
        {
            TaskDTO task = new TaskDTO();

            Console.Write("Enter task message : ");
            task.Content         = Console.ReadLine();
            task.PublicationDate = DateTime.Now;
            _provider.AddNewTask(task, _user, _group);

            ShowSuccessMessage("Task created successfully! Press any key to continue");
            Console.ReadKey();
            GroupPage groupPage = new GroupPage(_group, _user);

            groupPage.Init();
        }
        public void ShowGroup()
        {
            GroupPage groupPage = new GroupPage(_groups[CurrentPosition], _user);

            groupPage.Init();
        }