Beispiel #1
0
        public void UpdateUser(MarketManFM userFM)
        {
            MarketManDAO dao  = new MarketManDAO();
            MarketMan    user = dao.GetMarketManByID(userFM.ID);

            user.Email = userFM.Email;
            dao.UpdateMarketMan(user);
        }
Beispiel #2
0
        public MarketManFM GetUserFM(int ID)
        {
            MarketManDAO dao    = new MarketManDAO();
            MarketMan    user   = dao.GetMarketManByID(ID);
            MarketManFM  userFM = new MarketManFM(user);

            return(userFM);
        }