Esempio n. 1
0
        public async Task <IActionResult> GetNotificationByIdAsync(Guid notificationId)
        {
            var userId  = GetCurrentUserId();
            var request = new GetNotificationRequest(userId, notificationId);
            var res     = await _service.GetAsync(request);

            return(Ok(res));
        }