예제 #1
0
 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 }
     }
                ));
 }
예제 #2
0
 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 }
     }
                ));
 }