public void CreateSession(string sID) { try { SessionRepo sessionRepo = new SessionRepo(); sessionRepo.CreateSession(sID); } catch (Exception ex) { LoggingHelper.WriteToFile("SessionManager/Errors/", "CreateSession_" + sID, ex.InnerException?.Message, ex.Message + " Sourse :" + ex.Source + " Stack Trace :" + ex.StackTrace); } }