예제 #1
0
 public bool Delete(Leavehistory entity)
 {
     _db.Leavehistories.Remove(entity);
     return(Save());
 }
예제 #2
0
 public bool Update(Leavehistory entity)
 {
     _db.Leavehistories.Update(entity);
     return(Save());
 }
예제 #3
0
 public bool Create(Leavehistory entity)
 {
     _db.Leavehistories.Add(entity);
     return(Save());
 }