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