Example #1
0
File: Log.cs Project: TjcJose/Hi
 public int Add(BasLog model)
 {
     if (model == null)
     {
         return 0;
     }
     return dal.Add(model);
 }
Example #2
0
File: Log.cs Project: TjcJose/Hi
 public int Add(BasLog model)
 {
     try
     {
         return DataBase.ExecuteNonQuery("");
     }
     catch
     {
         return -1;
     }
 }