public bool Remove(LeaveHistory entity)
 {
     _context.LeaveHistories.Remove(entity);
     return(Save());
 }
 public bool Add(LeaveHistory entity)
 {
     _context.LeaveHistories.Add(entity);
     return(Save());
 }
예제 #3
0
 public bool Update(LeaveHistory entity)
 {
     _db.LeaveHistories.Update(entity);
     return(Save());
 }
예제 #4
0
 public bool Delete(LeaveHistory entity)
 {
     _db.LeaveHistories.Remove(entity);
     return(Save());
 }
예제 #5
0
 public bool Create(LeaveHistory entity)
 {
     _db.LeaveHistories.Add(entity);
     return(Save());
 }
예제 #6
0
 public bool Read(LeaveHistory entity)
 {
     throw new NotImplementedException();
 }