public int CreateList(Models.List list) { return(Sql.ExecuteScalar <int>( "List_Create", new Dictionary <string, object>() { { "boardId", list.boardId }, { "name", list.name }, { "sort", list.sort } } )); }
public int Import(Models.List list, bool merge = false) { return(Sql.ExecuteScalar <int>( "List_Import", new Dictionary <string, object>() { { "boardId", list.boardId }, { "name", list.name }, { "sort", list.sort }, { "merge", merge } } )); }