public bool Delete(Leavehistory entity) { _db.Leavehistories.Remove(entity); return(Save()); }
public bool Update(Leavehistory entity) { _db.Leavehistories.Update(entity); return(Save()); }
public bool Create(Leavehistory entity) { _db.Leavehistories.Add(entity); return(Save()); }