public void ILogger(Exception _exception) { _exceptionRepository.InsertExceptionDetails(_exception, "NotGetting"); //File log handler.. }