Esempio n. 1
0
        internal void UpdateDueDate(Model.Task task)
        {
            var res = Service.UpdateTaskDueDate(task.userEmail, task.column, task.TaskId, task.DueDate);

            if (res.ErrorOccured)
            {
                throw new Exception(res.ErrorMessage);
            }
        }
Esempio n. 2
0
        public void UpdateDescription(Model.Task task)
        {
            var res = Service.UpdateTaskDescription(task.userEmail, task.column, task.TaskId, task.Description);

            if (res.ErrorOccured)
            {
                throw new Exception(res.ErrorMessage);
            }
        }
Esempio n. 3
0
        internal void AssignTask(Model.Task task1)
        {
            var res = Service.AssignTask(task1.userEmail, task1.column, task1.TaskId, task1.EmailAssignee);

            if (res.ErrorOccured)
            {
                throw new Exception(res.ErrorMessage);
            }
        }
Esempio n. 4
0
        public void AdvanceTask(Model.Task deltask)
        {
            var res = Service.AdvanceTask(deltask.userEmail, deltask.column, deltask.TaskId);

            if (res.ErrorOccured)
            {
                throw new Exception(res.ErrorMessage);
            }
        }
Esempio n. 5
0
        internal void DeleteTask(Model.Task deltask)
        {
            var res = Service.DeleteTask(deltask.userEmail, deltask.column, deltask.TaskId);

            if (res.ErrorOccured)
            {
                throw new Exception(res.ErrorMessage);
            }
        }