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)); }
public void AddUserInfo(UserInfo userInfo) { iuserinfo.AddUserInfo(userInfo); }