コード例 #1
0
ファイル: toolBLL.cs プロジェクト: newzl/examsou
 public static void delete(int id)
 {
     using (DAL.root.toolDAL dal = new DAL.root.toolDAL())
     {
         dal.delete(id);
     }
 }
コード例 #2
0
ファイル: toolBLL.cs プロジェクト: newzl/examsou
 public static int save(Models.replacegif m)
 {
     using (DAL.root.toolDAL dal = new DAL.root.toolDAL())
     {
         return(dal.save(m));
     }
 }
コード例 #3
0
ファイル: toolBLL.cs プロジェクト: newzl/examsou
 public static string getData()
 {
     using (DAL.root.toolDAL dal = new DAL.root.toolDAL())
     {
         using (Common.JsonParse jp = new Common.JsonParse())
         {
             return(jp.convert(dal.getData()));
         }
     }
 }