コード例 #1
0
        public ApiResult <List <MedicalRecord> > getRecord([FromBody] JObject obj)
        {
            MedicalRecord record      = obj["medicalRecord"].ToObject <MedicalRecord>();
            int           currentPage = obj["currentPage"].ToObject <Int32>();
            int           pageSize    = obj["pageSize"].ToObject <Int32>();

            return(recordService.getAll(record, currentPage, pageSize));
        }