public int GetActiveUsers() { int result = 0; try { result = _genericRepo.GetRecordsCount(); } catch (Exception ex) { _logger.LogError($"Source: {ex.Source}, StackTrace: {ex.StackTrace} , Message: {ex.Message}"); } return(result); }
public int GetTestControllerRecordsCount() { var result = 0; try { result = _genericRepo2.GetRecordsCount(); } catch (Exception ex) { _logger.LogError($"Source: {ex.Source}, StackTrace: {ex.StackTrace} , Message: {ex.Message}"); } return(result); }