Example #1
0
 public bool Update(S_District t)
 {
     return dal.Update(t) > 0;
 }
Example #2
0
 public int Update(S_District t)
 {
     throw new NotImplementedException();
 }
Example #3
0
 public bool Add(S_District t)
 {
     return dal.Add(t) > 0;
 }
Example #4
0
 public int Add(S_District t)
 {
     db.S_District.Add(t);
     return db.SaveChanges();
 }