Beispiel #1
0
        // GET: Chat/Chatrooms/Details/5
        public async Task <IActionResult> Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var dto = await _service.GetChatroomDetailsAsync(chatroomId : id.Value, claimsPrincipalUser : User);

            return(View(dto));
        }