Пример #1
0
 public void DeleteSession(Session session) {
     try {
         _reposTohowDev.DeleteSession(session.ConverToTbSession());
     }
     catch (Exception ex)
     {
         throw new ApplicationException("Error delete user session", ex);
     }
 }
Пример #2
0
 public void UpdateSessionByOneDay(Session session) {
     try {
         _reposTohowDev.UpdateSession(session.ConverToTbSession());
     }
     catch (Exception ex)
     {
         throw new ApplicationException("Error update user session", ex);
     }
 }