Exemplo n.º 1
0
        public Models.User GetShopConnectedUserInfo(string ShopId)
        {
            DataTable dt = new DataTable();

            Models.User user = new Models.User();
            try
            {
                dt = _userData.GetShopConnectedUserInfo(ShopId);
                foreach (DataRow record in dt.Rows)
                {
                    user = BuildUserData(record);
                }
            }
            catch (Exception)
            {
            }
            return(user);
        }