User GetByNAme(string pUserName) { GetUserInfoByParamsService service = new GetUserInfoByParamsService(); GetUserInfoByParamsReq req = new GetUserInfoByParamsReq(); req.BusinessData.UserName = pUserName; GetUserInfoByParamsRes res = null; try { //Comprovar si se creo el usuario res = service.Execute(req); } catch (Exception ex) { base.StrExceptionMessage = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); return(null); } return(res.BusinessData.UserInfo); }
User GetByNAme(string pUserName) { GetUserInfoByParamsService service = new GetUserInfoByParamsService(); GetUserInfoByParamsReq req = new GetUserInfoByParamsReq(); req.BusinessData.UserName = pUserName; GetUserInfoByParamsRes res = null; try { //Comprovar si se creo el usuario res = service.Execute(req); } catch (Exception ex) { base.StrExceptionMessage = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); return null; } return res.BusinessData.UserInfo; }