public bool DeleteSessionHistory(SessionHistory entity)
 {
     if (entity == null) return false;
     _unitOfWork.SessionHistoryRepository.Delete(entity);
     _unitOfWork.Save();
     return true;
 }
 public bool EditSessionHistory(SessionHistory entity)
 {
     _unitOfWork.SessionHistoryRepository.Edit(entity);
     _unitOfWork.Save();
     return true;
 }