예제 #1
0
        public Response <AreaResponse> List(AreaRequest request)
        {
            Response <AreaResponse> response;
            AreaFilter      filter;
            List <AreaList> list;

            filter = request.FilterArea;

            list = _baseData.List(filter);

            response = new Response <AreaResponse>
            {
                IsCorrect = true,
                Value     = new AreaResponse
                {
                    ListArea = list
                },
                Status = Constants.StatusWebApi.OK,
            };

            return(response);
        }