Beispiel #1
0
        /// <summary>
        /// Update the due date of a task
        /// </summary>
        /// <param name="email">Email of the user. Must be logged in</param>
        /// <param name="columnOrdinal">The column ID. The first column is identified by 0, the ID increases by 1 for each column</param>
        /// <param name="taskId">The task to be updated identified task ID</param>
        /// <param name="dueDate">The new due date of the column</param>
        /// <returns>A response object. The response should contain a error message in case of an error</returns>
        public Response UpdateTaskDueDate(string email, int columnOrdinal, int taskId, DateTime dueDate)
        {
            Response rs = us.validateLoggedIn(email);

            if (rs.ErrorOccured)
            {
                return(rs);
            }
            return(bs.UpdateTaskDueDate(email, columnOrdinal, taskId, dueDate));
        }
Beispiel #2
0
 /// <summary>
 /// Update the due date of a task
 /// </summary>
 /// <param name="email">Email of the user. Must be logged in</param>
 /// <param name="columnOrdinal">The column ID. The first column is identified by 0, the ID increases by 1 for each column</param>
 /// <param name="taskId">The task to be updated identified task ID</param>
 /// <param name="dueDate">The new due date of the column</param>
 /// <returns>A response object. The response should contain a error message in case of an error</returns>
 public Response UpdateTaskDueDate(string email, int columnOrdinal, int taskId, DateTime dueDate)
 {
     return(bService.UpdateTaskDueDate(email, columnOrdinal, taskId, dueDate));
 }
Beispiel #3
0
 /// <summary>
 /// Update the due date of a task
 /// </summary>
 /// <param name="email">Email of the user. Must be logged in</param>
 /// <param name="columnOrdinal">The column ID. The first column is identified by 0, the ID increases by 1 for each column</param>
 /// <param name="taskId">The task to be updated identified task ID</param>
 /// <param name="dueDate">The new due date of the column</param>
 /// <returns>A response object. The response should contain a error message in case of an error</returns>
 public Response UpdateTaskDueDate(string email, int columnOrdinal, int taskId, DateTime dueDate)
 {
     return(boardService.UpdateTaskDueDate(userService.UserC.GetId(email), columnOrdinal, taskId, dueDate, userService.UserC.currentId()));
 }