public void DeleteSession(Session session) { try { _reposTohowDev.DeleteSession(session.ConverToTbSession()); } catch (Exception ex) { throw new ApplicationException("Error delete user session", ex); } }
public void UpdateSessionByOneDay(Session session) { try { _reposTohowDev.UpdateSession(session.ConverToTbSession()); } catch (Exception ex) { throw new ApplicationException("Error update user session", ex); } }