public void SetExecutor(Tasks task, int userID) { Users user = UsersDAO.GetUser(userID); task.Executor = user; TasksDAO.Save(task); }
public void Save(Tasks task) { TasksDAO.Save(task); }