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