public override object OnPut(UserAddressDTO request) { try { if (null != request) { return(UserAddressBiz.AddUserAddressInfo(request)); } return(ResponseStaticModel.PARAM_ERROR_MODEL); } catch (Exception ex) { ResponseStaticModel.SERVER_ERROR_MODEL.ResultEntity = ex.Message; return(ResponseStaticModel.SERVER_ERROR_MODEL); } }
public override object OnGet(UserAddressDTO request) { try { if (null != request) { request.PagingInfo = ServiceUtils.GetDefaultPagingInfo(request.PagingInfo); return(UserAddressBiz.GetUserAddressInfo(request)); } return(ResponseStaticModel.PARAM_ERROR_MODEL); } catch (Exception ex) { ResponseStaticModel.SERVER_ERROR_MODEL.ResultEntity = ex.Message; return(ResponseStaticModel.SERVER_ERROR_MODEL); } }