public static int CreateList(Models.List list) { return(Sql.ExecuteScalar <int>( "List_Create", new { list.boardId, list.name, list.sort, list.cardtype } )); }
public static int Import(Models.List list, bool merge = false) { return(Sql.ExecuteScalar <int>( "List_Import", new { list.boardId, list.name, list.sort, merge } )); }
public static 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 static 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 } } )); }