public override bool Delete(IJoke entity) { try { _jokeRepository.Remove(_jokeFactory.CopyTo(entity)); Commit(); return(true); } catch (Exception ex) { //LogService.Log.Error(ex); } return(false); }