public Response <IEnumerable <GoodsShelfInfo> > GetGoodsShelfInfo() { Response <IEnumerable <GoodsShelfInfo> > response = new Response <IEnumerable <GoodsShelfInfo> >(); try { ConfigAccessor accessor = new ConfigAccessor(); response.Result = accessor.GetGoodsShelfInfo(); response.IsSuccess = true; } catch (Exception ex) { LogError(ex); response.IsSuccess = false; response.ErrorCode = ErrorCode.Technical; } return(response); }