Exemplo n.º 1
0
 public void Archive(int listId)
 {
     Sql.ExecuteNonQuery("List_Archive",
                         new Dictionary <string, object>()
     {
         { "listId", listId }
     }
                         );
 }
Exemplo n.º 2
0
 public void Delete(int boardId, int cardId)
 {
     Sql.ExecuteNonQuery("Card_Delete",
                         new Dictionary <string, object>()
     {
         { "boardId", boardId },
         { "cardId", cardId }
     }
                         );
 }
Exemplo n.º 3
0
 public void Move(int boardId, int[] cardIds)
 {
     Sql.ExecuteNonQuery("List_Move",
                         new Dictionary <string, object>()
     {
         { "boardId", boardId },
         { "ids", string.Join(",", cardIds) }
     }
                         );
 }
Exemplo n.º 4
0
 public void UpdateEmail(int userId, string email)
 {
     Sql.ExecuteNonQuery("User_UpdateEmail",
                         new Dictionary <string, object>()
     {
         { "userId", userId },
         { "email", email }
     }
                         );
 }
Exemplo n.º 5
0
 public void UpdatePassword(int userId, string password)
 {
     Sql.ExecuteNonQuery("User_UpdatePassword",
                         new Dictionary <string, object>()
     {
         { "userId", userId },
         { "password", password }
     }
                         );
 }
Exemplo n.º 6
0
 public void AllColor(int userId, bool allColor)
 {
     Sql.ExecuteNonQuery("User_AllColor",
                         new Dictionary <string, object>()
     {
         { "userId", userId },
         { "allcolor", allColor }
     }
                         );
 }
Exemplo n.º 7
0
 public void KeepMenuOpen(int userId, bool keepOpen)
 {
     Sql.ExecuteNonQuery("User_KeepMenuOpen",
                         new Dictionary <string, object>()
     {
         { "userId", userId },
         { "keepmenu", keepOpen }
     }
                         );
 }
Exemplo n.º 8
0
 public void UpdateDescription(int boardId, int cardId, string description)
 {
     Sql.ExecuteNonQuery("Card_UpdateDescription",
                         new Dictionary <string, object>()
     {
         { "boardId", boardId },
         { "cardId", cardId },
         { "description", description }
     }
                         );
 }
Exemplo n.º 9
0
 public void UpdateBoard(Models.Board board)
 {
     Sql.ExecuteNonQuery(
         "Board_Update",
         new Dictionary <string, object>()
     {
         { "boardId", board.boardId },
         { "teamId", board.teamId },
         { "name", board.name },
         { "color", board.color }
     }
         );
 }
Exemplo n.º 10
0
 public void UpdateTeam(Models.Team team)
 {
     Sql.ExecuteNonQuery(
         "Team_Update",
         new Dictionary <string, object>()
     {
         { "teamId", team.teamId },
         { "ownerId", team.ownerId },
         { "security", team.security },
         { "name", team.name },
         { "website", team.website },
         { "description", team.description }
     }
         );
 }