Beispiel #1
0
        public async Task <IActionResult> GetUserSmsesAsync()
        {
            var smses = await _smsRepository.GetUserSmsesAsync(_httpContextAccessor.GetUserId());

            return(Ok(smses.Select(s => new UserSmsModel(s))));
        }