public Entities.User GetUser(int id) { try { DAO.UserDAO userDAO = new DAO.UserDAO(Web); return userDAO.GetUser(id); } catch (Exception ex) { throw ex; } }
public void ModifyUser(Entities.User user) { try { DAO.UserDAO userDAO = new DAO.UserDAO(Web); userDAO.ModifyUser(user); } catch (Exception ex) { throw ex; } }
public Entities.User GetUser(string profile) { try { DAO.UserDAO userDAO = new DAO.UserDAO(Web); return userDAO.GetUser(profile); } catch (Exception ex) { throw ex; } }