Example #1
0
        public async Task <ActionResult> GetUnhandledEmail()
        {
            var message = await _queueRepository.GetUnhandledEmailMessage();

            return(Ok(message));
        }
        public async Task <IActionResult> GetUnhandledEmail()
        {
            var eMessages = await _queueRepository.GetUnhandledEmailMessage();

            return(Ok(eMessages));
        }