Example #1
0
        public HttpResponseMessage AddUserInfo(UserInfoRequest userInfoRequest)
        {
            //var token = System.Web.HttpContext.Current.Request.Headers["auth"];
            var result = _userInfoService.AddUserInfo(userInfoRequest);

            return(toJson(null, result.State, result.Message));
        }
Example #2
0
 public void AddUserInfo(UserInfo userInfo)
 {
     iuserinfo.AddUserInfo(userInfo);
 }