Exemplo n.º 1
0
 public bool Delete(Leavehistory entity)
 {
     _db.Leavehistories.Remove(entity);
     return(Save());
 }
Exemplo n.º 2
0
 public bool Update(Leavehistory entity)
 {
     _db.Leavehistories.Update(entity);
     return(Save());
 }
Exemplo n.º 3
0
 public bool Create(Leavehistory entity)
 {
     _db.Leavehistories.Add(entity);
     return(Save());
 }