public bool Truncate(CredentialData data) { bool result = false; try { result = TruncateWorker.Truncate(data); } catch (Exception ex) { LogSystem.Error(ex); result = false; } return(result); }
public bool TruncateList(List <Employee> listData) { bool result = false; try { result = TruncateWorker.TruncateList(listData); } catch (Exception ex) { LogSystem.Error(ex); result = false; } return(result); }
public bool Truncate(ApplicationRole data) { bool result = false; try { result = TruncateWorker.Truncate(data); } catch (Exception ex) { LogSystem.Error(ex); result = false; } return(result); }