Esempio n. 1
0
 public static void delete(int id)
 {
     using (DAL.root.toolDAL dal = new DAL.root.toolDAL())
     {
         dal.delete(id);
     }
 }
Esempio n. 2
0
 public static int save(Models.replacegif m)
 {
     using (DAL.root.toolDAL dal = new DAL.root.toolDAL())
     {
         return(dal.save(m));
     }
 }
Esempio n. 3
0
 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()));
         }
     }
 }