/// <summary> /// Delete 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> /// <returns>A response object. The response should contain a error message in case of an error</returns> public Response DeleteTask(string email, int columnOrdinal, int taskId) { Response rs = us.validateLoggedIn(email); if (rs.ErrorOccured) { return(new Response <Column>(rs.ErrorMessage)); } return(bs.DeleteTask(email, columnOrdinal, taskId)); }
/// <summary> /// Delete 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> /// <returns>A response object. The response should contain a error message in case of an error</returns> public Response DeleteTask(string email, int columnOrdinal, int taskId) { return(bService.DeleteTask(email, columnOrdinal, taskId)); }
/// <summary> /// Delete 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> /// <returns>A response object. The response should contain a error message in case of an error</returns> public Response DeleteTask(string email, int columnOrdinal, int taskId) { return(boardService.DeleteTask(userService.UserC.GetId(email), columnOrdinal, taskId, userService.UserC.currentId())); }