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