Ejemplo n.º 1
0
        public async Task <IActionResult> GetChoiceThemeDeadlineAsync()
        {
            var userId      = Request.GetUserId();
            var deadlineDTO = await _universityService.GetChoiceThemeDeadlineAsync(userId).ConfigureAwait(false);

            var result = new List <DeadlineDTO>();

            if (deadlineDTO != null)
            {
                result.Add(deadlineDTO);
            }

            return(Ok(result));
        }