Пример #1
0
        /// <summary>
        /// Update the description of a task
        /// </summary>
        /// <param name="email">Email of 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="description">New description for the task</param>
        /// <returns>A response object. The response should contain a error message in case of an error</returns>
        public Response UpdateTaskDescription(string email, int columnOrdinal, int taskId, string description)
        {
            Response rs = us.validateLoggedIn(email);

            if (rs.ErrorOccured)
            {
                return(rs);
            }
            return(bs.UpdateTaskDescription(email, columnOrdinal, taskId, description));
        }
Пример #2
0
 /// <summary>
 /// Update the description of a task
 /// </summary>
 /// <param name="email">Email of 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="description">New description for the task</param>
 /// <returns>A response object. The response should contain a error message in case of an error</returns>
 public Response UpdateTaskDescription(string email, int columnOrdinal, int taskId, string description)
 {
     return(bService.UpdateTaskDescription(email, columnOrdinal, taskId, description));
 }
Пример #3
0
 /// <summary>
 /// Update the description of a task
 /// </summary>
 /// <param name="email">Email of 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="description">New description for the task</param>
 /// <returns>A response object. The response should contain a error message in case of an error</returns>
 public Response UpdateTaskDescription(string email, int columnOrdinal, int taskId, string description)
 {
     return(boardService.UpdateTaskDescription(userService.UserC.GetId(email), columnOrdinal, taskId, description, userService.UserC.currentId()));
 }