示例#1
0
        public IActionResult Get()
        {
            var sms = _smsRepository.Query();

            return(Ok(sms));
        }
        public async Task <IActionResult> Get()
        {
            var sms = _smsRepository.Query().OrderByDescending(d => d.Date);

            return(Ok(sms));
        }