Exemple #1
0
 public int Add(BasLog model)
 {
     if (model == null)
     {
         return 0;
     }
     return dal.Add(model);
 }
Exemple #2
0
 public int Add(BasLog model)
 {
     try
     {
         return DataBase.ExecuteNonQuery("");
     }
     catch
     {
         return -1;
     }
 }