public IDataShell <AccountDBModel> Get(AccountDBModel user)
        {
            Console.WriteLine("call data_service/useraccount/get");
            var res = _userDAL.Get(user);

            return(res);
        }
示例#2
0
        /// <summary>
        /// 获取一个用户帐号
        /// </summary>
        /// <param name="user"></param>
        /// <returns></returns>
        public IDataShell <AccountModel> Get(AccountModel user)
        {
            var res = ReqResTransShell <AccountModel, AccountDBModel, AccountDBModel, AccountModel>(user, (rq) => _userDAL.Get(rq));

            return(res);
        }