Esempio n. 1
0
        public IHttpActionResult QueryLifeRecordList(string floorName, string roomName, int currentPage, int pageSize)
        {
            BaseRequest <LifeRecordListFilter> request = new BaseRequest <LifeRecordListFilter>();

            request.Data.FloorName = floorName;
            request.Data.RoomName  = roomName;
            //request.Data.RecordDate = DateTime.Parse(recordDate.ToShortDateString());
            request.CurrentPage = currentPage;
            request.PageSize    = pageSize;
            var response = socialWorkerService.QueryLifeRecordList(request);

            return(Ok(response));
        }