//Delete Log public ReturnModel <bool> DeleteAllLogs() { var errorList = new List <string>(); var returnValue = DeleteAllLogs(StoredLogType.AppLog); if (returnValue.IsSuccess == false) { errorList.Add("Unable to delete App Log"); } returnValue = DeleteAllLogs(StoredLogType.PerfLog); if (returnValue.IsSuccess == false) { errorList.Add("Unable to delete App Log"); } returnValue = DeleteAllLogs(StoredLogType.EventLog); if (returnValue.IsSuccess == false) { errorList.Add("Unable to delete App Log"); } returnValue = DeleteAllLogs(StoredLogType.WebLog); if (returnValue.IsSuccess == false) { errorList.Add("Unable to delete App Log"); } return(ReturnModel <bool> .Error(errorList)); }