Exemple #1
0
        public static void ChangeOwnerById(Guid taskId, Guid newOwnerId)
        {
            var task = AccessBDTasks.GetTaskById(taskId);

            task.Owner = newOwnerId;
            AccessBDTasks.UpdateTask(task);
        }
Exemple #2
0
        public static void SetUnActiveState(Guid id)
        {
            var task = AccessBDTasks.GetTaskById(id);

            task.Status = Status.Open;
            AccessBDTasks.UpdateTask(task);
        }
Exemple #3
0
        public static void Resolve(Guid id)
        {
            var task = AccessBDTasks.GetTaskById(id);

            task.Status = Status.Resolved;
            AccessBDTasks.UpdateTask(task);
            AccessBDTasks.AddNewResolvedTask(AccessBDTasks.GetTaskById(id));
        }
Exemple #4
0
 public static void EditTask(Task task)
 {
     AccessBDTasks.UpdateTask(task);
 }