Esempio n. 1
0
        /// <summary>
        /// Change the name of a specific column
        /// </summary>
        /// <param name="email">The email address 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="newName">The new name.</param>
        /// <returns>A response object. The response should contain a error message in case of an error</returns>
        public Response ChangeColumnName(string email, int columnOrdinal, string newName)
        {
            Response rs = us.validateLoggedIn(email);

            if (rs.ErrorOccured)
            {
                return(rs);
            }
            return(bs.ChangeColumnName(email, columnOrdinal, newName));
        }
Esempio n. 2
0
 /// <summary>
 /// Change the name of a specific column
 /// </summary>
 /// <param name="email">The email address 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="newName">The new name.</param>
 /// <returns>A response object. The response should contain a error message in case of an error</returns>
 public Response ChangeColumnName(string email, int columnOrdinal, string newName)
 {
     return(boardService.ChangeColumnName(userService.UserC.GetId(email), columnOrdinal, newName, userService.UserC.currentId()));
 }