public static void ChangeOwnerById(Guid taskId, Guid newOwnerId) { var task = AccessBDTasks.GetTaskById(taskId); task.Owner = newOwnerId; AccessBDTasks.UpdateTask(task); }
public static void SetUnActiveState(Guid id) { var task = AccessBDTasks.GetTaskById(id); task.Status = Status.Open; AccessBDTasks.UpdateTask(task); }
public static void Resolve(Guid id) { var task = AccessBDTasks.GetTaskById(id); task.Status = Status.Resolved; AccessBDTasks.UpdateTask(task); AccessBDTasks.AddNewResolvedTask(AccessBDTasks.GetTaskById(id)); }
public static void EditTask(Task task) { AccessBDTasks.UpdateTask(task); }